![]() |
Really long string lists.
Better support for exceptionally long strings would be nice.
At least until I find a way to keep track of 400+ bank accounts without having all thier names in a string. You simply can't copy and paste when it gets that long, it cuts off the end. |
bankaccount_account1
bankaccount_account2 etc |
heh, jagen put it perfect and simple. Have more then one string guY!
geez! :asleep: |
it would still be a nice addition :X
|
Quote:
|
Quote:
The accounts themselves are all in separate strings, it's just thier names that are in the one string. So the Bank npc can easily see what accounts it manages. |
Quote:
bankaccount_0=Account1,ammount in bank bankaccount_1=asdfaccount,ammount in bank this.flags=getflagkeys(bankaccount_); in that example, this.flags = 0/{0,1}; i'm not sure if getflagkeys works serverside yet |
Quote:
NPC Code: I'm not positive if that will work though. I've been away from Graal for a little too long :x |
Quote:
|
Quote:
|
Hey, yo. I wouldn't make a separate string for each account - it just seems wasteful. I'd code a system that makes the account list automatically overflow into a new string when its length exceeds the limit. That way you can minimise the number of strings you're using.
|
Quote:
|
| All times are GMT +2. The time now is 09:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.