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 - ysc3839

#571
General Discussion / Re: VCMP Hide and Seek
Feb 22, 2015, 07:35 AM
Quote from: sseebbyy on Feb 21, 2015, 10:58 PM
Quote from: Doom_Killer on Feb 21, 2015, 05:25 PMHide and seek is a part of my multi gamemode server :x

Seems like you will have competition. The best to win ! :D

Btw, never played that mod (only zombie escape and classic), but I find interesting your idea.
Now, I wonder why you don't just create objects, and hide the ped ? :)
I tried to create an object and move it to player. But it will cause player can't move. :(
#572
General Discussion / VCMP Hide and Seek
Feb 21, 2015, 05:04 PM
As you may know CS Hide and Seek. I think it's very funny. Now I want to make a hide and seek server. I wonder how to change player's model? Now I make the object as a weapon. What do you think? :)
#573
General Discussion / Re: Wiki suggestion
Feb 21, 2015, 04:10 PM
You are wrong! MediaWiki is used by Wikipedia!
#574
General Discussion / Re: Voodoo hydraulics?
Feb 20, 2015, 03:50 PM
Quote from: stormeus on Feb 19, 2015, 05:38 PM
Quote from: ysc3839 on Feb 19, 2015, 12:49 PM
Quote from: sseebbyy on Feb 19, 2015, 12:13 PMHydraulics are disabled for now, because in SP there is no ped that plays with them => you will lean up/down on your screen, but not on other's screen.
But I still believe them can be enabled, and for other screens just to simulate the hydraulics.

Btw, you can script them just like Stormeus did in the PB#2 server. (changing rotation of car)
Yes, I see it in PB#3
BTW, can Stormeus release the Public Beta script?

I didn't think anyone would want it on account of how bad it is but yes.

https://bitbucket.org/stormeus/vl8-pb400/overview
Thanks a lot!
#575
Quote from: NE.CrystalBlue on Feb 19, 2015, 11:14 AM@ysc3839
1. Analyzing is too hard
2. is {"success":true,"servers":[{"ip":"95.85.12.227","port":5192,"is_official":false},{"ip":"198.52.128.114","port":8192,"is_official":false},{"ip":"37.187.201.205","port":5194,"is_official":false},{"ip":"31.220.48.196","port":5176,"is_official":false},{"ip":"5.135.145.71","port":5200,"is_official":false},{"ip":"192.99.199.92","port":5724,"is_official":false},{"ip":"192.254.78.2","port":5190,"is_official":false},{"ip":"110.182.6.4","port":8192,"is_official":false},{"ip":"120.141.67.167","port":8192,"is_official":false},{"ip":"60.172.228.36","port":55555,"is_official":false}]} supposed to be sent as a string or something else? I am using VB.NET.
Thanks
It's json data. :)
#576
General Discussion / Re: Voodoo hydraulics?
Feb 19, 2015, 12:49 PM
Quote from: sseebbyy on Feb 19, 2015, 12:13 PMHydraulics are disabled for now, because in SP there is no ped that plays with them => you will lean up/down on your screen, but not on other's screen.
But I still believe them can be enabled, and for other screens just to simulate the hydraulics.

Btw, you can script them just like Stormeus did in the PB#2 server. (changing rotation of car)
Yes, I see it in PB#3
BTW, can Stormeus release the Public Beta script?
#577
General Discussion / Voodoo hydraulics?
Feb 19, 2015, 09:11 AM
How can I use Voodoo hydraulics? :)
#578
Here is the request and response.
GET //servers/ HTTP/1.0
Host: master.vc-mp.org
User-Agent: HTTP Fetcher/HTTP/1.0
Connection: Close

{"success":true,"servers":[{"ip":"95.85.12.227","port":5192,"is_official":false},{"ip":"198.52.128.114","port":8192,"is_official":false},{"ip":"37.187.201.205","port":5194,"is_official":false},{"ip":"31.220.48.196","port":5176,"is_official":false},{"ip":"5.135.145.71","port":5200,"is_official":false},{"ip":"192.99.199.92","port":5724,"is_official":false},{"ip":"192.254.78.2","port":5190,"is_official":false},{"ip":"110.182.6.4","port":8192,"is_official":false},{"ip":"120.141.67.167","port":8192,"is_official":false},{"ip":"60.172.228.36","port":55555,"is_official":false}]}
#579
Quote from: NE.CrystalBlue on Feb 18, 2015, 01:34 PMHi guys! I wanted to make my masterlist for vcmp, what are the packet information that I have to send/recieve? I will of course check out the announce plugin source, but that probably wont tell me much. Thanks for help.
Capture the packet by yourself and analysis it!
#580
Quote from: Gudio on Feb 12, 2015, 06:47 PMYou just edited my function that works fine too. "::" is useless in functions outside the class.
Thanks!
#581
Quote from: Thijn on Feb 12, 2015, 05:13 PMWould you mind sending me the script? If this is a bug in the squirrel module it's easier to debug.
I tried to remove the script, but is the same...
#582
Quote from: Gudio on Feb 12, 2015, 12:02 PMwat
I suggest you to delete your post @ysc3839
What's the matter?
#583
Quote from: Gudio on Feb 11, 2015, 09:28 PMHey, I've written this function for you. Use it with updated squirrel module, because previous module returns vehicle's rotation with wrong order.

function CVehicle::GetRadiansAngle()
{
local angle;
angle = ::asin( this.Rotation.z ) * 2;

return this.Rotation.w < 0 ? 3.14159 - angle : 6.28319 - angle;
}

Usage: GetForwardPoint( vehicle.Pos, vehicle.GetRadiansAngle() );
Hopefully it works well now.
This is right:
function GetRadiansAngle(Rotation)
{
local angle;
angle = ::asin( Rotation.z ) * -2;
return Rotation.w < 0 ? 3.14159 - angle : 6.28319 - angle;
}
#584
Quote from: Thijn on Feb 11, 2015, 06:14 PMPressing ctrl-c on a clean server works fine. What plugins did you load?

If you want you can send me a zip in a PM that will reproduce this crash.
Squirrel plugin. If I remove it, this error will not show.
#585
I used VS2013 to debug the server, it shows:
QuoteFirst-chance exception at 0x765722CB (KernelBase.dll) in server.exe: 0x40010005: Control-C.
If there is a handler for this exception, the program may be safely continued.
Then I click Continue, it shows:
QuoteUnhandled exception at 0x0046420D in server.exe: 0xC0000005: Access violation reading location 0x000000EC.

Please fix this bug!