Mount Command
Posted: Sat Sep 09, 2017 4:17 pm
Any chance of adding a /mount slash command to the server pack. I know the command is in LUA but want one you can just type in the chat console. And make "/mount 0" a dismount command.
Want me to make a script to dump which appearances are mounts?Ememjr wrote: Wed Oct 04, 2017 4:44 pm it should not be to difficult to add a mount command, there is alreadt a mount command in lua
SetMount()
i am actually working on mounts but with 569 mounts in the game its tough finding all the model types for them
that would be awesomeTiger wrote: Sat Dec 23, 2017 7:55 pmWant me to make a script to dump which appearances are mounts?Ememjr wrote: Wed Oct 04, 2017 4:44 pm it should not be to difficult to add a mount command, there is alreadt a mount command in lua
SetMount()
i am actually working on mounts but with 569 mounts in the game its tough finding all the model types for them
The info is in app_cache.dat (zlib compressed). It is around 271MB uncompressed. I'll see what I can do.Ememjr wrote: Sun Dec 24, 2017 9:00 amthat would be awesomeTiger wrote: Sat Dec 23, 2017 7:55 pmWant me to make a script to dump which appearances are mounts?Ememjr wrote: Wed Oct 04, 2017 4:44 pm it should not be to difficult to add a mount command, there is alreadt a mount command in lua
SetMount()
i am actually working on mounts but with 569 mounts in the game its tough finding all the model types for them
Code: Select all
ComType zlib_noerror ;
GoTo 0x1 0 ;
Get decompressedsize Long 0 ;
Get compressedsize Long 0 ;
CLog AppDataDecompressed 0x9 compressedsize decompressedsize 0 ;Code: Select all
log MEMORY_FILE1 0 0 ;
log MEMORY_FILE2 0 0 ;
GoTo 0 0 ;
Get appearancenumber Long 0 ;
SavePos base 0 ;
Math writetobase1 = 0 ;
For A = 1 To appearancenumber ;
GoTo base 0 ;
Get idnumber Long 0 ;
Get textlength Short 0 ;
GetDString name textlength 0 ;
SavePos base 0 ;
GoTo writetobase1 MEMORY_FILE1 ;
Put idnumber String MEMORY_FILE1 ;
SavePos writetobase1 MEMORY_FILE1 ;
Math writetobase1 -= 1 ;
GoTo writetobase1 MEMORY_FILE1 ;
Put 0x20 Byte MEMORY_FILE1 ;
Put name String MEMORY_FILE1 ;
SavePos writetobase1 MEMORY_FILE1 ;
Math writetobase1 -= 1 ;
GoTo writetobase1 MEMORY_FILE1 ;
Put 0x0D Byte MEMORY_FILE1 ;
Put 0x0A Byte MEMORY_FILE1 ;
SavePos writetobase1 MEMORY_FILE1 ;
Next A ;
Get filesize ASIZE MEMORY_FILE1 ;
Log strings.txt 0 filesize MEMORY_FILE1 ;
GoTo base 0 ;
Get vocnumber Long 0 ;
SavePos base 0 ;
Math writetobase2 = 0 ;
For B = 1 To vocnumber ;
GoTo base 0 ;
Get idnumber1 Long 0 ;
Get idnumber2 Long 0 ;
Get textlength Short 0 ;
GetDString name textlength 0 ;
SavePos base 0 ;
GoTo writetobase2 MEMORY_FILE2 ;
Put idnumber1 String MEMORY_FILE2 ;
SavePos writetobase2 MEMORY_FILE2 ;
Math writetobase2 -= 1 ;
GoTo writetobase2 MEMORY_FILE2 ;
Put 0x20 Byte MEMORY_FILE2 ;
SavePos writetobase2 MEMORY_FILE2 ;
GoTo writetobase2 MEMORY_FILE2 ;
Put idnumber2 String MEMORY_FILE2 ;
SavePos writetobase2 MEMORY_FILE2 ;
Math writetobase2 -= 1 ;
GoTo writetobase2 MEMORY_FILE2 ;
Put 0x20 Byte MEMORY_FILE2 ;
Put name String MEMORY_FILE2 ;
SavePos writetobase2 MEMORY_FILE2 ;
Math writetobase2 -= 1 ;
GoTo writetobase2 MEMORY_FILE2 ;
Put 0x0D Byte MEMORY_FILE2 ;
Put 0x0A Byte MEMORY_FILE2 ;
SavePos writetobase2 MEMORY_FILE2 ;
Next B ;
Get filesize ASIZE MEMORY_FILE2 ;
Log voc.txt 0 filesize MEMORY_FILE2 ;
Man, I've missed this guy.