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.


Messages - VRocker

Pages: 1 [2] 3 4 5
16
mIRC/pawn Scripting / Re: Wich is the best script?
« on: February 10, 2010, 09:44:10 pm »
I'd say FBS. It seems to be the best script for beginners and seems to work fairly well.

PsySQLite does look like it has a lot of features, although its very inefficient. There are unneeded loops and overusage of sqlite, making it heavy on I/O aswell as CPU.
Theres also a major memory leak in psysqlite, since a lot of the sqlite queries dont get freed from memory. I've watched this script happily use 1gig of ram in a few hours.

WSV is ok, although its buggy and windlord hasn't cared about it for ages, so theres been no bug fixes, even for the simple things.

Sansan uses the official dll, which also means that its letting mirc do all the parsing of the rcon packets. We all know mirc is slow and inefficient, so it really shouldn't be doing stuff to do with network packets :(
Same with GUS really, that and its heavily based on INIs (not sure with sansan, not really looked at it)

I have never really used any of these scripts personally, but i've had a breif look at many of them and hosted them. So my opinions are based on this.

17
mIRC/pawn Scripting / Re: mIRC obsolete ?
« on: February 09, 2010, 10:06:15 pm »
Well, if you look in the pawn scripting stuff, you'll notice that theres these commands:

SendRconEvent
SendRconCommand

Aswell as a callback named OnRconCommand.

Although i havn't tested these commands, i imagine they would work like this:

Code: [Select]
public OnRconCommand(cmdtext[])
{
new cmd[256];
new tmp[256];
new idx;
cmd = strtok(cmdtext, idx);
if (strcmp(cmd, "lights", true) == 0)
{
tmp = strtok(cmdtext, idx); // player id
new playerid = FindPlayerIDFromString(tmp);
tmp = strtok(cmdtext, idx); // lights on/off
if ( strcmp(tmp,"1",true) == 0 ) SetVehicleLights( GetPlayerVehicleID(playerid), true );
else SetVehicleLights( GetPlayerVehicleID(playerid), false );
}
}

public OnPlayerRequestClass(playerid, classid)
{
SendRconEvent( "[ClassRequest] %i %i", playerid, classid );
}

This is just a rough draft but it looks asthough it will work. Then all you need to do is parse and send the stuff in the mirc dll

18
mIRC/pawn Scripting / Re: mIRC obsolete ?
« on: February 09, 2010, 08:18:52 pm »
So what, are they going to completely strip out the entire rcon, remove the commands which could be used for scripting, or just not add any more commands to it?

Since the mIRC scripts just work with the server by using the RCON interface for vcmp. It was never intended for scripting purposes.

If its just left as it is (which imo would be the best option), theres functions in pawn to send/receive commands on the rcon, meaning people could add to the mIRC scripting stuff themselves.
This way the developers wouldn't need to add any extra stuff to the rcon, but wrappers could still be made in pawn to provide the functionality if needed.

19
Vice City / Re: MDR GTA (Sever Coming soon HELP WANTED) (Update 1.2.2)
« on: January 29, 2010, 03:50:50 pm »
*facepalm* how many times do i have to tell you most servers are 3zr2. 3zr2 servers use PAWNO

Actually not all r2 servers use pawn (pawno is the IDE, not the language ;)) A lot of servers still use mirc, very few use pawn atm. from the people i've spoke to, they're not going to switch either.
Also out of the 6 servers i host on vrocker-hosting.eu, none of them are pawn.

Anyway, as I have already mentioned, once VC-MP's pawn gets plugins support, its functionality will be endlessly superior to that of mrc scripts. So switching to it is a kind of a rational step towards MP's improvement.

Plugin support would aid in switching people to pawn yes, but you have to accept that a few people are unwilling to switch because either
a) they cant be arsed to learn pawn
b) There will always be features missing from pawn that people can do in mirc with ease
c) converting scripts takes time, and who wants to spend a day or so converting a script which has worked fine for 2 years
d) some people (like me) dont actually like pawn, and disagree with having to jump through hoops to do simple things. Script languages should be simple.


20
Support / Re: OMFG High PING !!!!
« on: December 08, 2009, 09:26:06 pm »
Ummm download speed and upload speed are only a small factor in pings really.

Thats PLENTY of bandwitch to ping a couple of servers. the ping packet for each server is only 11 bytes, so for 24 servers thats 264 bytes. Not even 1KB downloaded.

Pings can be affected by distance, line quality and other things. Also depends if your upload is being hammered while pinging the servers.

I would go to speedtest.net and run a test there and see if it matches what your other test.

Should also install something like DUMeter to see if something is eating your upload.

Another possibility is that you've been put on a low priority traffic band. Some ISPs do this when you download too much data. Mine does this if i download more than 1.2GB between 4pm and 9pm :( it really sucks

21
mIRC/pawn Scripting / Re: Help please!
« on: November 12, 2009, 01:37:15 am »
If you want to find the timer/timers in the script, add !. to the front of timer

for example, it may be
Code: [Select]
timer 1 1 vcmp.say 1 blahor
Code: [Select]
/timer 1 1 vcmp.say 1 blahor even
Code: [Select]
.timer 1 1 vcmp.say 1 blah
in which case, change it to
Code: [Select]
!.timer 1 1 vcmp.say 1 blah
and you wont get any more spam :)

22
Support / Re: Unhandled Exeption
« on: September 24, 2009, 10:32:52 am »
So I think Idownloaded all the right things, I set the server name and admin password in the .ini file, I started vcmp-svr.exe, I opened vc-mp.exe and set up a server localhost:5192, the server name that i put into the ini showed up, I clicked connect, it  loaded, the game started, then immediatly after I got this error:

Exception At Address: 0x10004F65

Seems like your either missing a vital vcmp file, or the server you connected to has a dodgy config file. Try reinstalling vcmp.

ya thats what i got too im searching threw the hreads til i find the answer

Exception At Address: 0x00580F0E

Your crash occurs at loading a TXD, So make sure you have ldvcmp0.txd in your txd direcotry. If not, reinstall vcmp.

ahhhh!!!! guys , this happens to every body playing the multiplayer version of the game , even me! >:( . it's still in beta ,so this can happen.there is nothing to do excpt to wait for the 0.4 client  ::) :o

Yes of course everyone crashes, most the times its user error on game startup though. I wouldn't keep your hopes up for 0.4. Everyones been waiting for it for years and theres not been a peep from it.

23
mIRC/pawn Scripting / Re: How do i foward my ports?
« on: August 11, 2009, 07:05:51 pm »
First of all these topics are more suited for the support section seeing as they have nothing to do with mirc scripting.

Secondly, ever heard of using the Search? A lot of your questions have been asked all over the forums multiple times.

If you did use the search, you would see that you can use http://portforward.com to learn how to forward your ports.

24
Support / Re: PLZ help
« on: March 16, 2009, 06:02:09 am »
Elblem, please stop spamming other peoples threads. Just be patient.

The problem is something to do with TXDs, so its not been caused by VC:MP.
Just reinstall GTA:VC and VC:MP and it should work fine

25
mIRC/pawn Scripting / Re: InVaLiD NiCk..
« on: March 04, 2009, 05:15:29 pm »
Just adding my small comment of the brackets thingy...

I remember reading ages ago that mirc scripts execute a bit faster if the entire if statement is in brackets. so if ( ( $1 == 1 ) && ( $2 == 2 ) ). Not sure how reliable this source was though.

Another reason for encapsulating it all in brackets would be that some complex if statements require it else they will just fail or not work as expected.

26
Support / Re: need help very fast
« on: February 12, 2009, 02:58:25 pm »
You do need somewhere to host the scripts since many hosting companys dont offer mIRC hosting. You could use your own computer but it would mean leaving it on 24/7. You could always ask around for anybody who has their computer on 24/7 if they could host them for you.

You should really ask the gta-host.com staff about the error at the checkout since they'd know more about the problem and will be able to steer you in the right direction.

27
You can only really place 336 pickups in a server. This is how many will display at one time.
You can try adding more but they will not show up, but it wont crash either

28
mIRC/pawn Scripting / Re: [help]Can some1 give Spidometer code?
« on: February 06, 2009, 05:10:46 pm »
Depending what base script you are using, this is fairly easy...

Any script based on my dll will give you access to vcmp.speed. This does all the calculations for you and returns in meters per second. This is easily converted to mph or kmh.

Simplest way is just to throw it on a timer every second or so to check and update the players speed.

29
Support / Re: Linux CentOS Problem.
« on: January 22, 2009, 05:10:24 am »
A quick google search gave this:

http://www.centos.org/modules/newbb/viewtopic.php?forum=31&topic_id=899

Would try and help further but i'm usless with linux

30
mIRC/pawn Scripting / Re: Help with cars and skins id..
« on: January 16, 2009, 05:50:34 pm »
Theres some at my wiki for my projects.

Linky

Pages: 1 [2] 3 4 5