![]() |
weird this var bug
hello, while working on jobs for dd I have recently encountered bugs that involve this.vars, refresh my memory, this var's keep track of vars for the local npc right? Well anyways let me give you an example. In my mining script I use this vars to keep track of a rock/gem's life. If one player starts to mine and another player hits it while he is mining it reverts to starting progress. Like if the ore was on stage 3 (6 different stages) and he hit it the ore would revert back to stage 1, and then if I hit it again it would be at stage three again and so on. how can I resolve this?
|
Quote:
|
OoOoOo...
*always wanted to know what save[] did...* Ahhh.. *still doesn't really get it* |
how come you can only save up to 220 in save variables??
|
Quote:
|
Some time ago I made like an exact copy of the 2001 mining script for free servers. Was never put into use.
|
Quote:
|
I used save[] vars a while back for a playerhouse system, worked like a charm, I'd suggest em anyday.
|
Quote:
normally there is a 255 limit. it is difficult to explain tho and i am very tired lol but 255 isn't a true limit due to the fact that there is not an evan amount of data in a bite (cant remember exact figure) then again this could have been answered later on in the post :) |
Quote:
|
| All times are GMT +2. The time now is 06:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.