Author Topic: Question about VRocker's DLL  (Read 3435 times)

0 Members and 1 Guest are viewing this topic.

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Question about VRocker's DLL
« on: October 11, 2008, 10:54:45 pm »
I have a problem with VRocker's DLL
I made a command that checks the currently game time:

Quote
elseif (gametime == $3) {
WSV.say Current Game Time: $chr(91) $WSV.hour $+ : $+ $WSV.minute $chr(93)

But its not showing the real time:
Quote
<~[SkT]Tamas> !settime 15:45
<&Robocop> Admin [SkT]Tamas Changed time to: [ 15:45 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 15:52 ]
<~[SkT]Tamas> !settime 12:20
<&Robocop> Admin [SkT]Tamas Changed time to: [ 12:20 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 12:21 ]

+I have another question about the DLL's setmarker, removemarker and putmarker functions.

It is possible to set a player's marker to a Sunshine-Autos icon for example?
Because i know this is possible in Bakasan's DLL.
+How can i add a marker to the map when iam currently ingame?
I use this function:

Quote
alias WSV.onjoin {
WSV.setmarker 26 -1022.3336 -853.7759 24.3164

But it is possible to add a marker when iam allready connected to the server?
For example !addmarker 25 <coord> --> than that specific marker appear on the map.

Regards  :)

Offline VRocker

  • LU Developer
  • Wiseguy
  • *
  • Posts: 63
    • View Profile
    • Liberty Unleashed - GTA3 Multiplayer Mod
Re: Question about VRocker's DLL
« Reply #1 on: October 12, 2008, 10:06:18 am »
The time bug is due to the time prediction the dll uses. Seeing as vc-mp doesn't send any time data unless asked for it and doesn't tell the rcon client whether its locked, its predicted and asked for every 10 seconds.
I could add a call to stop the prediction inside the dll if needed.

Also, it should be possible to do what you want to do with markers. somebody else will have to help you out with that though since i've not really looked into them.


Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Question about VRocker's DLL
« Reply #2 on: October 12, 2008, 11:54:10 am »
Markers

Well, [Ka]Twisted has a !marker command which will show lots of cash icons on the map for him, and it works well, you would have speak to him about it...

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Question about VRocker's DLL
« Reply #3 on: October 12, 2008, 02:09:12 pm »
Hmm, i fixed the setmarker function but know when i place a merker somewhere than i can't delete it:

Quote
WSV.removemarker $4-

It is the same method what i use for setmarker its work, but this ones not. The marker not disappear from the map when i use this command.

Edit:
set 7 <id> (removes marker from player)
set 11 <id> <colour> (show player marker and change colour)
set 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)

Hmm i noticed, the vcmp 0.3z does not containes icon delete command  :)
« Last Edit: October 12, 2008, 02:55:34 pm by [SRS]Tomi »