Map Change Does Not Occur

Bug #554332 reported by L
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gang Garrison 2
Fix Released
Undecided
Unassigned

Bug Description

http://img402.imageshack.us/i/screenshot110w.png/

notice how the current map is changed but the client doesn't seem to go to the CustomMapRoom, what was odd is it only happened to me and another client out of four players in a server.

Revision history for this message
notagenericname (mlin4589) wrote :

This is actually as far as I can tell the reason for frequent unexpected data whenever the server switches to a different map

Revision history for this message
L (sharkbait261) wrote :

My incompetence to write code has caused this, seems i forgot to make the map go to the custom map room after it downloads it :drool:

Revision history for this message
L (sharkbait261) wrote :

Ok here fixed
http://pastebin.com/zUiHggxY

That is CustomMapDownload script

Just add goto_room_fix(CustomMapRoom); after download code

Revision history for this message
L (sharkbait261) wrote :

http://pastebin.com/RzQx6QWQ

Highlighted changed part

Revision history for this message
L (sharkbait261) wrote :

<L>: FFFFFFFFFFFFF
<L>: i forgot that map locators can lead to maps that aren't the same
<L>: so that would have to be checked instead of just having room_goto_fix(CustomMapRoom);

So adding this at the end of the script should do it

//now we have the map check if its the same as the servers map
  if(CustomMapGetMapMD5(global.currentMap) == global.currentMapMD5) {
  room_goto_fix(CustomMapRoom);
  exit;
  }else{
  // our map isn't the same, locator points to diffrent map
  show_message("The server's locator for" +global.currentMap+ "points to a diffrent version of the map");
 game_end();
 exit;
 }

Revision history for this message
MedO (smaxein) wrote :

Fixed in the development source (according to Psychopath) and fix released in a branch update (2.2.1)

Changed in gg2:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.