Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Requesting your opinion. (https://forums.graalonline.com/forums/showthread.php?t=68343)

KuJi 08-25-2006 03:36 AM

Requesting your opinion.
 
With the mudlib system I am currently using per bullet shot reupdates the loaded variable in the mudlib (for loaded ammo to pass throughout guns).

With only 14 players I am hitting:
1. 0.427805 % +Guns
1. 0.171186666 % +Guns
1. 0.806798333 % +Guns
1. 0.60478 % +Guns

Does anyone have any idea on how I should do this to keep it the same style I am using? I was thinking only trigger to the server for every 5 bullets shot or something to reupdate it - but that would cause people to log on a 4th shot to regain there ammo or something of the sort.. so yeah - help appreciated.

(I also can probally make it update your ammo when you unequip the gun but that wouldn't help if someone logs off with it on)

*Edit* After having 6 people fire continiuously for a minute:
1. 1.130478333 % +Guns

BigNoobie 08-25-2006 04:29 AM

Maybe just set a this. string with the value of the amount of bullets they have, then on the GUI show the this.string, then when the gun is unequipped/they log off, it triggers the server to save the this.string as the the bullets.


All times are GMT +2. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.