Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
01-08-2013, 15:05
(This post was last modified: 01-08-2013, 15:07 by hillbilly.)
I get the bug with primary akimbo, but secondary only as akimbo works a treat, and no bugs as ive seen. Been running this for a while now no problems.
Posts: 42
Threads: 3
Joined: Dec 2012
Reputation:
0
(01-08-2013, 14:51)99IRock Wrote: (01-08-2013, 14:50)master131 Wrote: (01-08-2013, 14:23)99IRock Wrote: Sick extensions . thanks
Uhm, if I may ask, is there anyway to write an extension what can maybe fix the akimbo bug?
Because I think it works in the new addon (The one that zoomby has)
OR I'm wrong, and he just found a fix for it.
So I'm not sure if it is the addon what fixed it for akimbo guns.
Thanks in advance
What akimbo bug. If I take akimbo, on my primaryweapon, and I switch to secondary, and than back to the akimbo gun, I can't shoot anymore.
I saw in a video of zoomby alex that he had a riotshield with akimbo pm9, and he could also switch and still shoot.
Maybe I'm wrong but I think you can do this: when a player changes the first weapon in the secondary, then back, akimbo must just quickly remove then put again.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
(01-08-2013, 14:51)99IRock Wrote: (01-08-2013, 14:50)master131 Wrote: (01-08-2013, 14:23)99IRock Wrote: Sick extensions . thanks
Uhm, if I may ask, is there anyway to write an extension what can maybe fix the akimbo bug?
Because I think it works in the new addon (The one that zoomby has)
OR I'm wrong, and he just found a fix for it.
So I'm not sure if it is the addon what fixed it for akimbo guns.
Thanks in advance
What akimbo bug. If I take akimbo, on my primaryweapon, and I switch to secondary, and than back to the akimbo gun, I can't shoot anymore.
I saw in a video of zoomby alex that he had a riotshield with akimbo pm9, and he could also switch and still shoot.
lol It was my code.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
(01-08-2013, 15:39)SailorMoon Wrote: lol It was my code.
Really? So it works fine right?
A casual conversation between barata and I about Nukem.
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
not when i tested it, if you have primary akimbo and second akimbo once you switch to secondary the primary wont shoot.
Posts: 273
Threads: 14
Joined: Aug 2012
Reputation:
17
(01-08-2013, 15:39)SailorMoon Wrote: (01-08-2013, 14:51)99IRock Wrote: (01-08-2013, 14:50)master131 Wrote: (01-08-2013, 14:23)99IRock Wrote: Sick extensions . thanks
Uhm, if I may ask, is there anyway to write an extension what can maybe fix the akimbo bug?
Because I think it works in the new addon (The one that zoomby has)
OR I'm wrong, and he just found a fix for it.
So I'm not sure if it is the addon what fixed it for akimbo guns.
Thanks in advance
What akimbo bug. If I take akimbo, on my primaryweapon, and I switch to secondary, and than back to the akimbo gun, I can't shoot anymore.
I saw in a video of zoomby alex that he had a riotshield with akimbo pm9, and he could also switch and still shoot.
lol It was my code.
I tested your code too and it didn't work.
Posts: 520
Threads: 29
Joined: Nov 2012
Reputation:
11
The only thing that worked is, that if you buy another gun and switch, it won't be akimbo
But I want it to be that it will be akimbo agains :p
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
(01-08-2013, 17:15)hillbilly Wrote: not when i tested it, if you have primary akimbo and second akimbo once you switch to secondary the primary wont shoot.
Perhaps we can find a workaround once I get OnNotify completed. Example, use the weapon_changed event and disable akimbo temporarily and then renenable 1 second after the weapon has been switched.
A casual conversation between barata and I about Nukem.
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
01-09-2013, 07:46
(This post was last modified: 01-09-2013, 08:05 by master131.)
Sorry for the double post but I have figured out how to get the parameters/arguments associated with the notify event and am making some final touches/checks to make sure it's stable.
EDIT - Updated main post. Please report bugs with OnNotify, because there is bound to be one.
A casual conversation between barata and I about Nukem.
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
01-10-2013, 06:14
(This post was last modified: 01-10-2013, 07:04 by master131.)
Alright, I found some major bugs with OnNotify that would basically make it not work at all.
The main post has been updated along with an updated example. I tried SetCanDamage and tried OnNotify with the damage event to no luck. I also tried setting the health and max health of the entity. Same result. Not sure what's going on, I might be missing something (perhaps the wrong offset for maxhealth).
A casual conversation between barata and I about Nukem.
|