Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   getdynamicvarnames() (https://forums.graalonline.com/forums/showthread.php?t=63062)

ApothiX 12-29-2005 09:42 AM

getdynamicvarnames()
 
It seems the getdynamicvarnames() function chokes when the variables have underscore ('_') characters in them :x

PHP Code:

temp.varnames clientr.getdynamicvarnames();
for(
temp.vnametemp.varnames) {
  echo(
temp.vname);


Ignores any variables with _ in the name (exact names of variables being ignored are: mud_hp, mud_mp, mud_maxhp, mud_maxmp, mud_level, mud_class, mud_exp, mud_exptolevel)

Admins 12-29-2005 03:54 PM

Currently clientr.mud_ vars are special, they are not read from the player account, they are reserved for the mudlib

ApothiX 12-30-2005 11:04 AM

Quote:

Originally Posted by Stefan
Currently clientr.mud_ vars are special, they are not read from the player account, they are reserved for the mudlib

x_x even for servers that don't have the Kingdom's mudlib? :|


All times are GMT +2. The time now is 08:42 PM.

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