Page 1 of 2

MMud version 1.11o

Posted: Sat Dec 13, 2003 5:13 pm
by PeterParker
Hey Syntax...any idea how soon Nightmare will work with the new MMUD?



Pete

Re: MMud version 1.11o

Posted: Sat Dec 13, 2003 9:51 pm
by Panterra X
lol it just came out... give the guy some time...

Re: MMud version 1.11o

Posted: Sun Dec 14, 2003 1:08 pm
by Platinum
Eh..I'm not upgrading to o..I'll run 3 cleanups a day instead..



o, overall, nerfed a shitload of stuff..so til P comes out, I'm stayin with n

Re: MMud version 1.11o

Posted: Mon Dec 15, 2003 4:04 am
by War Hawk
an update will be out when syntax puts it out :P~

Re: MMud version 1.11o

Posted: Mon Dec 15, 2003 9:55 am
by syntax53
i started working on it a 'lil last night. they changed the size of the room database by making the active monster slots 4 bytes each instead of 2 (thanks to locke for giving me that info without needing to search myself :)). they also added a 2 byte field somewhere as well which we still have to find.



the dilemma i have with it is with all the past versions (from v1.11i through v1.11n) there were no database changes like this. with v1.11j you had the exp multiplier, but that just used an unused field so the structure stayed the same. if i released a nightmare just for v1.11o and greater it would be done now, but i'd like to try and make it work with both.



anyone know how to declare a variable set as a custom structure type in a module based on condition or redeclare/redifine after it has been declared in visual basic 6.0? :)



-syn

Re: MMud version 1.11o

Posted: Mon Dec 15, 2003 10:14 pm
by War Hawk
in C++ you use virtual functions and variables... I dunno if that is possible in VB

Re: MMud version 1.11o

Posted: Tue Dec 16, 2003 2:51 pm
by axb9041
redim preserve varName as CustomType ... is this what you are looking for? You may or may not need preserve. I can try to help.



Adam

Re: MMud version 1.11o

Posted: Tue Dec 16, 2003 3:18 pm
by syntax53
redim preserve varName as CustomType ... is this what you are looking for? You may or may not need preserve. I can try to help.



Adam



you can only use the redim statement for dynamic arrays ..



IE:

Dim VarA() as Integer



ReDim VarA(0 to 5) - make VarA an 6 element array

ReDim VarA(0 to 4) - make VarA a 5 element array, erasing the current values

ReDim Preserve VarA(0 to 10) - resize VarA to an 11 element array, keeping the array values

Re: MMud version 1.11o

Posted: Tue Dec 16, 2003 3:21 pm
by axb9041
how about;



Set varName = New CustomType



Adam

Re: MMud version 1.11o

Posted: Tue Dec 16, 2003 3:34 pm
by syntax53
how about;



Set varName = New CustomType



Adam



this isn't a vb101 course ... you can only use the set command for objects, and a custom structure (aka a User-Defined Type [UDT]) is not an object.