• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jansi

#1
mIRC/pawn Scripting / Re: [Pawn]Decrypt
February 26, 2011, 01:47:51 AM
Secure from what? If someone can access files on your server maybe consider moving to another host/strengthen the security of the server itself!?

I think it is much easier not to keep sensitive data in log files than trying to get mirc encrypt them.
Of course you can try implementing (most likely all by yourself) some simple [and easy-to-break] algorithm in mirc scripting OR find another application or mirc plugin that does all the encryption.
#2
mIRC/pawn Scripting / Re: who can make the RPG gamemode
December 01, 2010, 05:45:44 PM
vcmp has at least one rpg server - Argonath RPG (178.63.52.144:5192)
#3
Support / Re: Can't start Vice City
November 28, 2010, 02:35:41 PM
Quote from: Jancis71 on November 28, 2010, 09:22:24 AM
2. When I disable auto restart appears blue screen.
Write down these texts

and search for them in google.
#4
Support / Re: Can't start Vice City
November 28, 2010, 02:32:31 AM
Check the Event Log, maybe there is something that may help you find the reason (right click on My Computer > Manage > Event Viewer).

And is automatic restart disabled? (WinXP: R click on My Computer > Properties > Advanced > Startup and Recovery > Settings > Automatically restart)  Maybe Windows dies and automatically restarts before you get to read the error message.
#5
Videos and Screenshots / Re: Jc invasion in lw
March 22, 2009, 09:30:06 PM
lol, then I must have joined right after he left/changed nick ;x
#7
General Discussion / Re: VC-MP Gamemode Maker v0.1a
October 05, 2008, 12:09:29 PM
In Windows "." is a name for working directory.

Orpheus, why are you pushing your help so much? Even after Stoku said that he wants to do this alone...
atm it looks like you just want to get the source code.
#8
General Discussion / Re: VC-MP Gamemode Maker v0.1a
September 29, 2008, 08:55:05 PM
Just one small but important tip for the future - do not save the config file as C:\config.ini . This file may be used by other applications, but your program simply overwrites it.
Better use your application's directory (".\config.ini" could work).
#9
mIRC/pawn Scripting / Get spawned players
March 24, 2008, 11:14:04 AM
Is it possible to find out which players were already spawned before script was connected to the server?

It's like I have a server with 3 players: first one is driving around, second is spawned but hasn't moved or received any damage and the last one is still selecting his team. And now when I connect mIRC script, it should get every player's state - if he is spawned. How to do that?

Checking the hp or coordinates won't work (2nd player).

EDIT: btw it's enough with the idea how to do that; the mirc script is not so important
#10
The problem is that I can do the commands (and they work), but I can't get their results and chat.
(And it's the same with both, old and new, dll versions.)
#11
General Discussion / About rcondll.dll (to developers)
February 26, 2008, 08:58:03 PM
Hello!

I'm trying to create an rcon client that's using the rcondll.dll (I don't want to learn the r.a.k.n.e.t yet) and I've got a problem with receiving messages from the dll. I can connect to the vc:mp server, send commands (for example, "kick 0") and disconnect, but I don't receive any rcon output (like "[join] 0 Player" or "RCON: Kick Usage: kick <playerid>").

To send something back to the mIRC it should create a mapped file named "mIRC", copy all the commands to this file, and send a Windows message WM_USER+200 (or 201) to the mIRC. When mIRC receives this kind of message, it reads commands from the mapped file and deletes the file. (This information is from the mIRC's help)
But my application doesn't receive any WM_USER+200 or +201 messages from the dll, while it does from other app`s. So maybe the problem is with the window's handle - rcon.dll sends messages to some other (wrong) window.

dll has a function inside that creates mapped file and sends the message, so it must be using the way described in mIRC help, but I don't know how it obtains the handle of the target window - ways I can think of are:
- it can search for a window with certain ClassName, FileName or Title;
- it can use the hwnd parameter passed through RconConnect function;
- it can use the hwnd variable from the LOADINFO struct ( used in LoadDll function ).
- it's using GetProcessWindowStation and GetUserObjectInformation functions (I'm not sure why?)
But maybe there is another way that I haven't thought about!?

In the end - can you tell me how the .dll gets a handle of the mIRC window??

.