Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 07-28-2013, 11:07 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
use

PHP Code:
for(temp.getstringkeys("clientr.mud_")){
  
clientr.(@ "mud_" temp.i) = "";

Or just use makevar()
__________________
Reply With Quote
  #17  
Old 07-29-2013, 06:46 PM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Quote:
Originally Posted by Chompy View Post
use

PHP Code:
for(temp.getstringkeys("clientr.mud_")){
  
clientr.(@ "mud_" temp.i) = "";

Or just use makevar()
The first part is what I was suggesting, but as for having to resort to using makevar() there isn't really a reason for it. It should be able to do what it's supposed to the first time without having to make things more complicated (though it would still likely work).

I recall reading a thread not to long ago in this same section "why do scripters make things to complicated" or something similar. This topic is probably an appropriate answer.
Reply With Quote
  #18  
Old 07-29-2013, 07:04 PM
Cubes Cubes is offline
Registered User
Cubes's Avatar
Join Date: Dec 2005
Location: Chesapeake, Virginia
Posts: 498
Cubes is a jewel in the roughCubes is a jewel in the rough
I identified the issue, clientr flags or any flags that were set prior to GS3 being enabled with an underscore seem to be stuck in attributes and cannot be removed dynamically. it appears the only way to clear them is actually set it to clientr.muditem_1 = ""; i dont know why though
Reply With Quote
  #19  
Old 07-31-2013, 09:24 PM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Reply With Quote
  #20  
Old 08-01-2013, 11:35 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
http://forums.graalonline.com/forums...hp?t=134268469
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:08 AM.


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