Login
    |

Checkpoint Bug
 
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> Race Server
Previous topic :: Next topic  
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 07 Jul 2011, 14:30    Post subject: Checkpoint Bug

It seems some maps on the server are displaying CPs at maximum size, the checkpoints are nothing like the sizes they were when they were placed in the editor. Occasionally they are normal but more often they are not, so it suggests it's a random event and not fixed to a perticular map.

The screens are from the map G-Turns, the CP bug creates an obvious exploit allowing players to cut the turns.

EDITOR
Image

SERVER
Image

I'm sure i saw this happen with another map during MW lastnight, it was obvious the CPs were far to large for the map, you can usually tell because the arrow markers are half buried in the road or hidden below the surface.

Just wondering if something in one of the scripts could be causing this?
Top
Profile Send private message
AdiBoy
SKC Elite Member
Winner of Race championship May 2008Winner of Race championship June 20082nd place in Race championship March 2010Winner of Race championship April 20103rd place in Race championship May 20102nd place in Race championship September 20102nd place in Race championship October 2010
2nd place in Race championship January 20113rd place in Race championship February 2011
User avatar

Joined: 22 Sep 2007
Posts: 1995
Location: Home sweet home


Posted: 07 Jul 2011, 14:41    Post subject: Re: Checkpoint Bug

make sure u have the latest race resource and the latest editor resource on your pc where u made the map..
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 07 Jul 2011, 15:00    Post subject: Re: Checkpoint Bug

That thought crossed my mind cos both maps i made have this CP prob on the server, but i'm running the latest version, 1.0.5, so everything should be up to date?

Unless you mean this >> http://code.google.com/p/mtasa-resources/downloads/list
Top
Profile Send private message
Dockinoke
Site Admin - SKC Leader
3rd place in Race championship May 20083rd place in Race championship June 20082nd place in Race championship September 20083rd place in Race championship October 2008
User avatar

Joined: 20 Mar 2008
Posts: 2728
Location: Sicily, Italy


Posted: 07 Jul 2011, 15:56    Post subject: Re: Checkpoint Bug

I have this issue only with editor maps (new made maps only), on server all works perfectly.


Relax Rulez 8-)

<<The difference between a newbie and a noob? The first learns, the second is pwnt.>> - Docki at phone whit a friend

Docki sharable maps here: [url]http://sdrv.ms/O4MJx0[/url]
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 09 Jul 2011, 14:53    Post subject: Re: Checkpoint Bug

Well the new map i made in the editor after i reinstalled MTA doesn't have the CP problem in server, so it looks like what Adi was saying with the resources was the problem. I just took it for granted because i was running 0.5 that everything was up to date.
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 11 Jul 2011, 12:44    Post subject: Re: Checkpoint Bug

Using the new editor i remapped all the checkpoints in the two maps, yet they are still too big when the maps get to server, which suggests to me that it's irreversible. Anyway i found an old post on the MTA forums discribing exactly the same problem.

THe fix involves changing the first line in the map file to this: <map edf:definitions="race,editor_main">

I've had a look at G-Turns map and mine reads: <map edf:definitions="race,rcg,editor_main">

The only noticeable difference is the RCG resource which is obviously needed for the map to work, so i can't see how changing this line would fix anything.

Right, but there is another way i think, that is to manually edit the CP size values in the map file. This would be a long process but i'm willing to try it if it meant an end to this shitty problem once and for all.

Unless anyone else has any ideas, anything at all, i'm at my wits end with this bollocks honestly.

for the record here's the post >> http://forum.mtasa.com/viewtopic.php?f=94&t=29781
Top
Profile Send private message
MCvarial
SKC Elite Member
User avatar

Joined: 24 Jul 2008
Posts: 1612
Location:


Posted: 11 Jul 2011, 14:12    Post subject: Re: Checkpoint Bug

What's your editor version?
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 11 Jul 2011, 15:21    Post subject: Re: Checkpoint Bug

How do i check that exactly?
Top
Profile Send private message
MCvarial
SKC Elite Member
User avatar

Joined: 24 Jul 2008
Posts: 1612
Location:


Posted: 11 Jul 2011, 15:34    Post subject: Re: Checkpoint Bug

Hah turns out they forgot to add version numbers and revisions...

Anyways make sure you've got the latest editor (the one that comes with 1.0.5 might be outdated)

You can use svn to checkout this dir:
http://mtasa-resources.googlecode.com/svn/trunk/

And copy the content from the required and editor folder in your resources folder. You can do svn update once in a while to keep it updated.

Or you can download the latest version here:
http://code.google.com/p/mtasa-resources/downloads/list

Same instructions apply.
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 11 Jul 2011, 17:53    Post subject: Re: Checkpoint Bug

Thanks MC, copied all content to the resources folder. Do you think it will be necessary to again remap the CPs in the two maps, or just load the maps in the editor, save them and upload...

Sod it i'll try the latter, i'll do just the one, see how it is on the server.
Top
Profile Send private message
mrselfdestruct

User avatar

Joined: 26 Sep 2007
Posts: 398
Location: Usa


Posted: 11 Jul 2011, 21:26    Post subject: Re: Checkpoint Bug

Old editor FTW!


[URL=https://datesnow.life]Not against spontaneous decisions, one night only[/URL]
Top
Profile Send private message
Plodders
SKC Elite Member
User avatar

Joined: 22 Sep 2007
Posts: 162
Location: UK


Posted: 13 Jul 2011, 05:49    Post subject: Re: Checkpoint Bug

I've fixed this, but the upshot is a few older maps map appear to have checkpoints which are 4 times too small. If you see any, make a note of the map name so they can be corrected.
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 13 Jul 2011, 12:17    Post subject: Re: Checkpoint Bug

Thanks for fixing the prob Plodders but the price is too steep, i've just played 5 maps and 4 of them had small CPs.

McQueen Park Reversed
SF Docks GP
The Infernal Loop
Canyon Race

People are going ballistic on the server lol, we're gonna need to revert back. I'm guessing there are too many maps affected to name them all.
Top
Profile Send private message
Plodders
SKC Elite Member
User avatar

Joined: 22 Sep 2007
Posts: 162
Location: UK


Posted: 13 Jul 2011, 16:56    Post subject: Re: Checkpoint Bug

Changed it back :P
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 13 Jul 2011, 17:35    Post subject: Re: Checkpoint Bug

Good effort lol

I have one last thing to try and if it doesn't come good then i will write them off.

I'll try placing the CPs 4 times smaller, they should appear normal in theory after this.
Top
Profile Send private message
AdiBoy
SKC Elite Member
Winner of Race championship May 2008Winner of Race championship June 20082nd place in Race championship March 2010Winner of Race championship April 20103rd place in Race championship May 20102nd place in Race championship September 20102nd place in Race championship October 2010
2nd place in Race championship January 20113rd place in Race championship February 2011
User avatar

Joined: 22 Sep 2007
Posts: 1995
Location: Home sweet home


Posted: 13 Jul 2011, 18:23    Post subject: Re: Checkpoint Bug

Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 13 Jul 2011, 20:12    Post subject: Re: Checkpoint Bug

Im not sure i follow, should i be looking at the meta in the edf folder?
Top
Profile Send private message
AdiBoy
SKC Elite Member
Winner of Race championship May 2008Winner of Race championship June 20082nd place in Race championship March 2010Winner of Race championship April 20103rd place in Race championship May 20102nd place in Race championship September 20102nd place in Race championship October 2010
2nd place in Race championship January 20113rd place in Race championship February 2011
User avatar

Joined: 22 Sep 2007
Posts: 1995
Location: Home sweet home


Posted: 14 Jul 2011, 08:08    Post subject: Re: Checkpoint Bug

no, at the <map edf:definitions="race,editor_main"> in the meta.xml of your map
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 14 Jul 2011, 13:38    Post subject: Re: Checkpoint Bug

<map edf:definitions="race,rcg,editor_main"> is the first line in the map file.

meta.xml
Image
Top
Profile Send private message
Sputs|uk
SKC Elite Member
3rd place in Race championship August 20082nd place in Race championship January 20102nd place in Race championship August 2010Winner of Race championship April 2011
User avatar

Joined: 04 Jan 2008
Posts: 1647
Location: Land of Eng


Posted: 16 Jul 2011, 13:51    Post subject: Re: Checkpoint Bug

Fixed. Reduced the original sizes to 1/4.

Ta for your help lads, and patience.
Top
Profile Send private message
Display topics from previous: Sort by
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> Race Server



Using mChat © phpBB3BBCodes.com
Powered by phpBB © 2001, 2005, 2007 phpBB Group
cron