Argonath RPG - A World of its own

GTA:SA => SA:MP - San Andreas Multiplayer => SA:MP General => Topic started by: Zaila on January 03, 2014, 12:47:16 pm

Title: RS5 update - Weapons
Post by: Zaila on January 03, 2014, 12:47:16 pm
I'm soon gonna add a update on the server which is updating the weapon system and how it's given to you.

I added a fix on the server which would avoid players to loose weapons when the server is crashing. From the tests i had done, it looked like it was working perfectly but now, i know that wasn't the case.

To take an example, lets say i used /weaponequip on myself and got a deagle. If i didn't have a deagle, it would update perfectly fine. But from there on, every time i would get deagle after that, the server wouldn't update my weapon data properly and then mark me as a weapon hacker.

This caused alot of false positives for the staff and took alot of time from them in regard of investigations.

I have now spent an hour or so debugging it and found the problem and fixed it. However, this means that weapons will not auto save anymore directly when you get it.

However, i added a new command called /saveweapons which everyone can use. If you are scared to loose your weapons every time you buy some, you can use /saveweapons and it will automatically save it to the database.
Title: Re: RS5 update - Weapons
Post by: Zaila on January 03, 2014, 12:49:46 pm
Forgot to mention that /weaponequip has been enabled for firemans and police forces once again.

EDIT: This update has now been deployed.
Title: Re: RS5 update - Weapons
Post by: Cyril on January 03, 2014, 01:03:49 pm
Good news. However is there any plan to make the auto save working again in the future?
Title: Re: RS5 update - Weapons
Post by: Stivi on January 03, 2014, 01:08:17 pm
Great!

Do we still have to buy the weapon instead of only the bullets ?
Title: Re: RS5 update - Weapons
Post by: Mikal on January 03, 2014, 04:58:28 pm
Forgot to mention that /weaponequip has been enabled for firemans and police forces once again.

EDIT: This update has now been deployed.
Why do firemen need weapon equip? O.o
Title: Re: RS5 update - Weapons
Post by: JDC on January 03, 2014, 05:02:17 pm
Zaila, where can we find the regulations / usage limits / guides for /weaponequip in RS5?
Title: Re: RS5 update - Weapons
Post by: Pingster on January 03, 2014, 05:07:02 pm
Why do firemen need weapon equip? O.o

So they don't have to reduty for extinguisher.


JDC, from my testing:
firemen are only able to /weaponequip extinguisher (at the FD, in the far right room to the left of the entrance, and possibly at FD ranchers, not sure if that was completely removed or adjusted)
SAPD can't equip heavy weapons
You can't equip melee weapons
Seems only shotgun, combat, m4, smg, deagle, pepper, sniper are available for equipping, combat, sniper and m4 being restricted to FBI and SWAT.

Regulations are probably the same, as scripts don't really change them.
Title: Re: RS5 update - Weapons
Post by: Zaila on January 03, 2014, 05:08:34 pm
Why do firemen need weapon equip? O.o

For fire extinguisher.

Zaila, where can we find the regulations / usage limits / guides for /weaponequip in RS5?

That's entirely up to SAPD to regulate. The only scripted limit we have put in is that you can not carry more than 10k bullets at any given time (no matter if you are on police duty or not) since a higher number than that can make the database bug due to a SA:MP bug.
Title: Re: RS5 update - Weapons
Post by: Mikal on January 03, 2014, 05:11:10 pm
So they don't have to reduty for extinguisher.


JDC, from my testing:
firemen are only able to /weaponequip extinguisher (at the FD, in the far right room to the left of the entrance, and possibly at FD ranchers, not sure if that was completely removed or adjusted)

For fire extinguisher.
Oh I see, it is a pain going into that marker and then finding out you have to relog because the marker won't let you back on fire duty, if thats a bug you're not aware of..
Title: Re: RS5 update - Weapons
Post by: Pingster on January 03, 2014, 05:12:45 pm
Oh I see, it is a pain going into that marker and then finding out you have to relog because the marker won't let you back on fire duty, if thats a bug you're not aware of..
Or finding out you have to get off the marker, wait a few seconds and go back to the marker, or failing that, exit and enter the building.
Title: Re: RS5 update - Weapons
Post by: JDC on January 03, 2014, 05:17:27 pm
So they don't have to reduty for extinguisher.

This makes me think, why not add /rearm for the firemen like the cops have it?


SAPD can't equip heavy weapons
You can't equip melee weapons
Seems only shotgun, combat, m4, smg, deagle, pepper, sniper are available for equipping, combat, sniper and m4 being restricted to FBI and SWAT.

Fair enough :D

Regulations are probably the same, as scripts don't really change them.

Usually. But with a new gamemode and a modified system of ranks, ingame regulations may require some revision in some cases. After all, Argonath agencies have always built their regulations around the gamemode, not the other way around. (with the exception of scripted ranks and their permissions)
Title: Re: RS5 update - Weapons
Post by: Pingster on January 03, 2014, 05:28:44 pm
Usually. But with a new gamemode and a modified system of ranks, ingame regulations may require some revision in some cases. After all, Argonath agencies have always built their regulations around the gamemode, not the other way around. (with the exception of scripted ranks and their permissions)
SAPD (FBI, SWAT, any group within the group system) have the power to
1) Create whatever ranks they want
2) Have whatever stuff available they want (within the scripted limit) for whichever rank they want
3) Have none of the above make any sense whatsoever

So if [WS]Mike wanted to, SAPD Officers would have the same abilities he does, while Lieutenants couldn't even suspect anyone.

So yeah, that's the big change, agencies are in full control of everything, without having to wait for developers to script it for them.



Edit: Shit, saw the last bit in the quote. Do you mean regulations about who should have the rights to stuff? Ie, not giving everyone the ability to call hydras?

I imagine it's assumed that people who've managed to get to ranks where they can edit permissions won't be completely stupid :p


Edit2: Whatever bug that causes your last location to get erased, as well as sets your hp at 10, it wipes your weapons still. Also, probably inventory.
Title: Re: RS5 update - Weapons
Post by: Dan Santovis on January 03, 2014, 06:37:16 pm
Couldn't their be a loop hole in the new system /saveweapons, for example I save them then I go off shooting up the block, then I log off and come back again, wouldn't you spawn with the amount you started with before hand, or another possibility giving your weapons to other players after using /saveweapons then log off, and get them back when you log back on? Or does it auto-save when you use / give the weapons?
Title: Re: RS5 update - Weapons
Post by: Pingster on January 03, 2014, 06:50:58 pm
Couldn't their be a loop hole in the new system /saveweapons, for example I save them then I go off shooting up the block, then I log off and come back again, wouldn't you spawn with the amount you started with before hand, or another possibility giving your weapons to other players after using /saveweapons then log off, and get them back when you log back on? Or does it auto-save when you use / give the weapons?
I tried multiple options, relogging, forcing lost connection, opcoding, ctrlaltdelete, nothing seems to have worked.


Except getting that silly bug, which just wipes them.
Title: Re: RS5 update - Weapons
Post by: Dan Santovis on January 03, 2014, 06:53:49 pm
I tried multiple options, relogging, forcing lost connection, opcoding, ctrlaltdelete, nothing seems to have worked.


Except getting that silly bug, which just wipes them.
Well that's great to know, and have in the Argonath rpg community http://argonathrpg.eu/Smileys/classic/icon_smile.gif
Title: Re: RS5 update - Weapons
Post by: Zaila on January 03, 2014, 07:09:51 pm
Edit2: Whatever bug that causes your last location to get erased, as well as sets your hp at 10, it wipes your weapons still. Also, probably inventory.
Wrong.

It might dissapear if the server crashes because the server dont gottime to update your position and the information is saved.

However, if you use /saveweapons, then it's in the database. If the server crash, you will get back the weapons that is in the database. The same is with items.

If it's now dissapearing for some reason, there is another reason why it dissapears and you need to post a bug report which is as detailed as possible so we can identify why.
Title: Re: RS5 update - Weapons
Post by: Eps_Smalls on January 03, 2014, 07:21:11 pm
/saveweapons ??? I've been trying to use /load and /store for 1 month...
Title: Re: RS5 update - Weapons
Post by: murdoxix on January 03, 2014, 09:11:40 pm
Good news. However is there any plan to make the auto save working again in the future?




/saveweapons ??? I've been trying to use /load and /store for 1 month...
:extramegasuperhyperfacepalm:
Title: Re: RS5 update - Weapons
Post by: Miller786 on January 04, 2014, 10:26:04 pm
Just discovered this! looks nice, i might jump in for a quick playthrough next day or the other :D
Title: Re: RS5 update - Weapons
Post by: Miller786 on January 08, 2014, 08:01:58 pm
Sorry for dp, but /Weaponequip doesnt work?
Title: Re: RS5 update - Weapons
Post by: Rusty on January 08, 2014, 08:09:33 pm
Sorry for dp, but /Weaponequip doesnt work?

If you mean for Police, it's restricted to the rank of Sergeant+.
Should work for firemen and whatever else uses the command, was using it last night without issues.
Title: Re: RS5 update - Weapons
Post by: Miller786 on January 08, 2014, 10:14:23 pm
dang it, when they told me everyone was SAPD, i really believed it... xD
Title: Re: RS5 update - Weapons
Post by: Rusty on January 08, 2014, 10:53:36 pm
dang it, when they told me everyone was SAPD, i really believed it... xD

Everyone is, you just got to expect some of the features are rank restricted. 
Title: Re: RS5 update - Weapons
Post by: murdoxix on January 08, 2014, 11:02:00 pm
I don't know where is the /weaponequip point of firemans at LSFD.
Title: Re: RS5 update - Weapons
Post by: MikeSangelo on January 08, 2014, 11:15:10 pm
I don't know where is the /weaponequip point of firemans at LSFD.

Should be able to do it right from the fire trucks.
Title: Re: RS5 update - Weapons
Post by: murdoxix on January 08, 2014, 11:51:58 pm
Should be able to do it right from the fire trucks.
Ohh.. I tried to do it inside FD :P! I'll try it later. Thanks !
Title: Re: RS5 update - Weapons
Post by: Pingster on January 09, 2014, 02:40:24 am
Ohh.. I tried to do it inside FD :P! I'll try it later. Thanks !
Yeah, that's where it does work. Go in, turn left, keep going, room on the right.
SimplePortal 2.3.7 © 2008-2025, SimplePortal