Author Topic: Problem with VRocker's new DLL and vehicles which are boats/ skimmers  (Read 3575 times)

0 Members and 1 Guest are viewing this topic.

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Hi,

I've had this problem for a while with VRocker's new DLL where it returns Unknown for the name of Skimmers and Boats...

Here is a screenshot:



Any ideas on how to fix this? I am using the latest version of the DLL (1.0.0.3), also, I think there may be a different entry number for the boats and skimmers because on every other vehicle, I get the message saying you entered a blah (Scripted it in) but not for the skimmer. Are there more entry methods other than 18 and 17?

Cheers,

Force

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Problem with VRocker's new DLL and vehicles which are boats/ skimmers
« Reply #1 on: September 27, 2008, 12:21:48 pm »
Yeah when i get or spawn any vehicle the same problem happen with me too.
But if i type it again (second time) it will show the name.

I don't know why but this problem appear only the first time when i use this function. Maybe you can make a text or ini file for all models's names.

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Problem with VRocker's new DLL and vehicles which are boats/ skimmers
« Reply #2 on: September 27, 2008, 06:36:01 pm »
I Think only VRocker can help u bith in this problem but he is away i think.. :-\

GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline VRocker

  • LU Developer
  • Wiseguy
  • *
  • Posts: 63
    • View Profile
    • Liberty Unleashed - GTA3 Multiplayer Mod
Re: Problem with VRocker's new DLL and vehicles which are boats/ skimmers
« Reply #3 on: September 29, 2008, 12:19:29 am »
This problem occurs due to the way the dll gets vehicle information. Due to the way the vcmp rcon protocol is, no information about vehicles gets sent until somebody enters a vehicle.
A way around this is to use the same method as the WSV, which reads a copy of the config.ini, parses it and aadds the information into the internal pools.

This should fix the problems with vehicle IDs. since doing //echo -a $vcmp.vehiclenamemodel( 190 ) returns skimmer.


Windlord

  • Guest
Re: Problem with VRocker's new DLL and vehicles which are boats/ skimmers
« Reply #4 on: September 29, 2008, 12:30:28 am »
Funny thing is though...

Some of the dll aliases work with //echo -a

But they do not work inside scripts.

An example would be $vcmp.name($1,$2) where $2 is the id.
and of course the $vcmp.vehiclenamemodel

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Problem with VRocker's new DLL and vehicles which are boats/ skimmers
« Reply #5 on: October 01, 2008, 02:49:23 pm »
A way around this is to use the same method as the WSV, which reads a copy of the config.ini, parses it and aadds the information into the internal pools.

The thing is, I have done that and it works fine for EVERY vehicle apart from those that are to do with the sea....