Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2006, 10:01 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
v4.1 not returning properly

I have a function that sorts through strings and returns an array containing the ones with the highest value (two or more may share the highest value).
However, it always returns '0' when it's called on someone using v4.1.
I debugged them, and everything went properly. The end result, which should have been returned, was the proper string. However, like I said, 0 was returned.

Is there any way around this?
Reply With Quote
  #2  
Old 07-31-2006, 10:09 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Okay, it seems 4.1 can't return arrays with only one member.
I had tried returning it as a string if there's only one member, but I forgot you have to restart Graal to update a client-joined class.

My bad.
Reply With Quote
  #3  
Old 08-01-2006, 04:03 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
Yes, 4.1 has a lot of annoying bugs.
(showpoly comes to mind)
__________________
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 12:29 PM.


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