vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Sat May 18, 2013 11:14 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: /Desc plus click on character = Bug. Fixed.
PostPosted: Sun Dec 28, 2008 10:04 am 
Carmack's Pimple

Joined: Sat Dec 27, 2008 9:35 pm
Posts: 64
Well, as i explained in the subject,that's what happens when you perform those actions...

Here is the solution:
Code:
User_LookAtTile

Search:

Code:
   If UserList(TempIndex).Group > 0 Then
                    ConBuf.Put_String GroupRanks(UserList(TempIndex).GroupRank) & " " & UserList(TempIndex).Name & " of " & UserList(TempIndex).Group
                Else


Replace it with:

Code:
   If UserList(TempIndex).Group <> "" Then
                    ConBuf.Put_String GroupRanks(UserList(TempIndex).GroupRank) & " " & UserList(TempIndex).Name & " of " & UserList(TempIndex).Group
                Else



Conclusion:

The Bug consisted on the >0, because as groupname is a string, you can't add it as if it were a byte. So, the solution was <> "" , that serves to verify if it has changed.

Now you can set your desc and view it without having the game crash.


Sorry if my grammar or orthography are not perefect, i'm not a native speaker. (i live in argentina). If i made any errors, please feel free to correct them.


Top
 Profile  
 
 Post subject: Re: /Desc plus click on character = Bug. Fixed.
PostPosted: Tue Dec 30, 2008 12:59 pm 
Carmack's Pimple

Joined: Sun Dec 09, 2007 2:32 pm
Posts: 61
Location: Kent, England
Thanks for this:D


Top
 Profile  
 
 Post subject: Re: /Desc plus click on character = Bug. Fixed.
PostPosted: Tue Dec 30, 2008 3:53 pm 
Richardf's Evil Minion

Joined: Thu Dec 25, 2008 12:03 pm
Posts: 123
Yeh, lol. Thanks!
Shouldn't this be included in the possibly upcoming bugfix version? Nex?


Top
 Profile  
 
 Post subject: Re: /Desc plus click on character = Bug. Fixed.
PostPosted: Sun Jun 27, 2010 6:57 pm 
Source Code Swashbuckler

Joined: Thu Sep 03, 2009 8:42 am
Posts: 39
Location: Irmo, SC, USA
i cant find this code anywhere in latest version of vbgore........


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group