Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-21-2006, 03:43 PM
hotrian hotrian is offline
Who?
Join Date: May 2003
Location: Eatonville, Washington, 98328
Posts: 56
hotrian is on a distinguished road
Send a message via AIM to hotrian Send a message via MSN to hotrian
Resolved: for (pl: allplayers) { Problem?

NPC Code:
	          new GuiPopUpMenuCtrl(H_AW_Selecter) {
profile = "DefaultMenuProfile";
x = 5;
y = 23;
width = 120;
height = 20;
text = "Account";
thiso.catchevent("H_AW_Selecter","onSelect","onSel ectaccount");
i=0;
for (pl: allplayers) {addtext(@pl,i);i++;}
}




Rc gives no errors and
when using that with my GUI, it lists 20 objects (See Attached Picture)
1 of which is a player (myself, im the only player on)
1 of which is the Npc server (thats not a player!)
and the other 18 are IRC channels T.T

But using
NPC Code:
for (i=0;i<=allplayerscounts;i++) {addtext(@players[i].account,i);}



Works just fine, only lists real players (just me at the time);

Server : Soakath
Weapon : H/Test

Sorry if this is a known bug
Am I just using it wrong?
Attached Images
File Type: bmp error.bmp (510.7 KB, 126 views)
__________________
Sometimes I wonder if I think too big.
Quote:
Originally Posted by Admins
I've moved the fox map to "levelstoobig/" because a terrain gmap of 1024x1024 levels is clearly too huge (the kingdoms main map is 40x40 and is already quite big). It was taking a lot of memory and was slowing down the computer.
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 03:51 PM.


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