NEED help with MUD code

infantilo
12-19-2004, 10:31 AM
Hi there!
i really need your urgence help.
i'm trying to get rid of an error within an gnMUD server from http://www.freevbcode.com/ShowCode.Asp?ID=6284 since weeks.
The code is extreme class based and i'm not able to find the bug.
The code is great and i try to understand and learn from it.
The failure happens when a new user is generated or the last user leaves, i get an error. (within the runnung script editor, events, ClientConnected, Function EnteredNewPassword, in one of the two lines:
MoveToLobby Client, MudApp
sendmessagetoroom mudapp.players(curUserID).properties("Name").Value & " joins [" & client.ipaddressname & "]", "Welcome " & mudapp.players(curUserID).properties("Name").Value, client, mudapp

the problem seems to occure when the curUserID should be set.
PLZ could anyone help me??? PLZ!!!! Im begging!!!
yours
infantilo
(infantilo@gmx.at)

unrealportal
12-30-2004, 04:22 AM
I don't know what this MUD is, and maybe this is not the right place to get help for it, seems like no one else knows either. Therefore I would suggest you to contact the author of the code you downloaded, which I found to be chris.goodsell@btinternet.com (mailto:chris.goodsell@btinternet.com) . Did that help any?

Shatrix
12-30-2004, 06:36 AM
i think hes talking about a multi user dimesion or a text based multi playered game.

Bljashinsky
12-30-2004, 11:16 AM
What's the curUserID's value at that time? Is it dying at that part of the code? What error is it giving if it's giving one? Sorry, but I can't really look through that much code and try to help you debug it, because I don't have the time.

infantilo
01-02-2005, 01:33 PM
Thanks for giving help.
During the holidays i could solve the problem.
in the code of the Entinity-form there has been set reference to the "object"-class instead of the dynamic class that is been set on loading the form by the main-form.
It seems as the original code has been simply copied from the object-editor form and been forgotten to change. If anyone wants to have to working code let me know. (there's still one failure on creating a new object directly in the entinity editor, but i'm shure it has the same reason. but as i said, i'm new to classes and need to learn a LOT!)
Yours
Infantilo

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum