• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

All but host disconnect, then an error???

Status
Not open for further replies.
Level 9
Joined
Apr 14, 2007
Messages
437
Okay, my map has never done this before, it was perfect. Outta knowehere, it disconnects everybody 10-45 minutes into gameplay, and then errors my WC3. Only I get errored, and everyone else gets disconnected (d/c). Why is this?
 

Attachments

  • cnc fatal.JPG
    cnc fatal.JPG
    15 KB · Views: 145
Level 9
Joined
Apr 14, 2007
Messages
437
It is my Command and Conquer: Red Alert map, and it's already posted on the hive. I'll attach an unprotted one here, so somebody whos good with helping me, or with jass, can solve my problem, i'd appreciate it a lot.

and Ard, your sig is true. im trying to spell whole words out, but im so used to IM-Language.
 

Attachments

  • (12)CnC Winding Rivers3.00.w3x
    1.9 MB · Views: 47
Level 19
Joined
Aug 24, 2007
Messages
2,888
I think game own3d by leaks

<off-topic> there is a singleplayer game (not map) named Aquaria and it gets crashed after playing for 3-6 hours... People really should remove the important leaks </off-topic>
 
Level 6
Joined
Feb 2, 2005
Messages
205
I looked into your map there are a lot of Location Leaks.

For Example in the selling Trigger


[Trigger= How it is atm]
Unit - Create 2 Rifle Infantry for (Triggering player) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
[/Trigger]


[Trigger= How it is fixed]
Custom script: local location udg_tmpPoint
Set tmpPoint = (Position of (Triggering unit))
Unit - Create 2 Rifle Infantry for (Triggering player) at (tmpPoint) facing Default building facing (270.0) degrees
Custom script: call RemoveLocation(udg_tmpPoint)
[/Trigger]

In addition every Grouploop is leaking one Group to prevent it just use
[Trigger= Group leak fixed]
Custom script:set bj_wantDestroyGroup = true
Player Group - Pick every player in (All players) and do (Player - Set (Picked player) Current lumber to 12000)
[/Trigger]

For more information on leaks click me
 
Level 9
Joined
Apr 14, 2007
Messages
437
thanks, im gonna host my map after i make the fixes, then ill let you know if its any better. if you wanna test with me, just pm, or reply on this thread to me.

woot post 250!

EDIT: Hosting on USEast server, in 5 minutes. Account: I)eath2u4me. Channel: Clan kctz. GameName (GN): Command and Conquer!!! NEW!!!


EDIT: kay, map is a lot better thanks to removing most/all of the leaks, but it still happens, though much later into gameplay. I think it's because of the ammo system i have setup on the air units, which i'll remove, test the game with fullhouse, and see if theres any difference. if not, then ill be needing more help. PLEASE still suggest things in the mean, so i can try those too, and so other ppl who read this thread, can get help as well.
 
Last edited:
Level 19
Joined
Aug 24, 2007
Messages
2,888
I looked into your map there are a lot of Location Leaks.
[Trigger= How it is atm]
Unit - Create 2 Rifle Infantry for (Triggering player) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
[/Trigger]

[Trigger= How it is fixed]
Custom script: local location udg_tmpPoint
Set tmpPoint = (Position of (Triggering unit))
Unit - Create 2 Rifle Infantry for (Triggering player) at (tmpPoint) facing Default building facing (270.0) degrees
Custom script: call RemoveLocation(udg_tmpPoint)
[/Trigger]

Remove the "Custom script: local location udg_tmpPoint"
 
Level 6
Joined
Feb 2, 2005
Messages
205
Never experienced it with that Trigger part, and i hosted plenty of times. The Problem is surely on another point. If it would crash it would crash right on the first used Trigger, and it doesn't.

I never heard that removing local location will crash wc3...
 
Level 9
Joined
Apr 14, 2007
Messages
437
well i tired the game, without the ammo system for air units, and it still disconects everyone, THEN crashes me. i dont get it, none of my amps ever work properly, until i find what the problem is. i think my luck sucks. not too long ago, my KUS map had an unknown error, caused by Attack ground ability lolz. anyway, what could possibly cuase this problem in my cnc map?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
<Off Topic> LoL Aquaria starts with 50mb memory and it gets 800 MB in 3-4 hours.(I think I saw a patch for that game maybe it fixes) </Off Topic> Leaks can be dangerus
 
Level 9
Joined
Apr 14, 2007
Messages
437
Well, the time hasnt really changed a lot, but it changed somewhat. sorry if im not making sense, i have some illness, doctors not sure what, could be "walking pneumonia" but they diont think so. anyhoo, the time is now 15-40 minutes into gameplay. i could see if any unit has attack ground ability (basically the unit has "artillery" attack type) and use that ability and see if it errors, brecause thats what caused the problem in my other map. i'll edit this post with results.

EDIT: Okay, none of the units have attack ground ability. so the test obviously failed. i want to try something with jass, but how do you read a map jass scripting? in teh meantime, while answering my question, please give other suggestions too.

EDIT: Also ,if you have jasscraft, you can open my attached .j file of my maps scripting. if you are good with jass, then plz read the file and help me.
 

Attachments

  • war3map.j file.zip
    21.8 KB · Views: 42
Last edited:
Level 19
Joined
Aug 24, 2007
Messages
2,888
GetHost is really dangerus... dont use it many times. (it may really crash)
Remove those Do Nothings

I didnt find any leaks...
 
Status
Not open for further replies.
Top