Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-23-2009, 06:55 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
Quote:
Originally Posted by cbk1994 View Post
Awesome idea; it could also be used to solve some problems with items stored in flags (e.g. cutting off when you update with RC), though I can't think of a perfect way right now, since this would still require you to use text files. I suppose you could do something like

PHP Code:
function onPlayerAttributesUpdated(pl) {
  
temp.items.loadVars("players/" pl.account);
  
  for (
temp.item items.getDynamicVarNames()) {
    
pl.clientr.item.(@ item[0]) = {item[1], item[2], [...]};
  }

Yep, if you have an item system or any other system using variables with a value length over 255, you could use the event to fix the variable.
__________________
Reply With Quote
 


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 09:46 AM.


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