• 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.

Support

Status
Not open for further replies.
Level 7
Joined
Nov 12, 2005
Messages
299
I see that Horror.Man reported this same thing in the other topic, but there was no real solution...
Anyway I simply can't get a map to load. The player slots never appear and clicking start makes the menu go up only to return immediately after that. This is the same thing that happens when trying to load a map with syntax errors so I assume common.j isn't being parsed.
Injecting doesn't produce any errors and the logs don't have anything of use either.

Any ideas?
 
Level 7
Joined
Nov 12, 2005
Messages
299
I guess something was indeed wrong with the EXE, I just reinstalled everything and it works fine now.
Just one question though...it seems to be asking for RtCDemo.mpq which isn't in the archive. It works without it and I commented that out from loadmpq so no problem, just though you should know.

Great job so far BTW :)
You intend to release the source for this at some point?
 
Last edited:
Level 21
Joined
Aug 3, 2004
Messages
710
I guess something was indeed wrong with the EXE, I just reinstalled everything and it works fine now.
Just one question though...it seems to be asking for RtCDemo.mpq which isn't in the archive. It works without it and I commented that out from loadmpq so no problem, just though you should know.

Great job so far BTW :)
You intend to release the source for this at point?

Ah, thanks for pointing that out, should fix that sometime soon.

The source for making your own natives is already shared at www.wc3campaigns.net, and with it, is the source for my natives too.
 
Level 7
Joined
Nov 12, 2005
Messages
299
You will get a special launcher in which you would select a map made using WarSoc natives, type the server's IP address and then click on the Launch button. This would start Warcraft in a special single player game that would be synced with anyone else currently playing.
 
Level 1
Joined
Jun 13, 2007
Messages
5
soz again

error message:could not find warerr.ddl

if it matters im on vista and im trying v 0.10
and havent try any earlyer vesions because its new computer( it still gets ****ed up by vista but its better than my last
 
Level 7
Joined
Nov 12, 2005
Messages
299
The newest release has several issues...
Extract the attachment, double click on the .reg file and try again. That .reg is simply used to enable war3err, can probably be done through the newgen editor as well.
 

Attachments

  • TurnOnErr.zip
    263 bytes · Views: 183

peq

peq

Level 6
Joined
May 13, 2007
Messages
171
I see that Horror.Man reported this same thing in the other topic, but there was no real solution...
Anyway I simply can't get a map to load. The player slots never appear and clicking start makes the menu go up only to return immediately after that. This is the same thing that happens when trying to load a map with syntax errors so I assume common.j isn't being parsed.
Injecting doesn't produce any errors and the logs don't have anything of use either.

Any ideas?

I got the same behavior but reinstalling warcraft and rtc doesnt work for me. Maybe it is because I got the german version of warcraft?
 
Level 21
Joined
Aug 3, 2004
Messages
710
If you have the space for it, i would like you to try and copy your wc3 installation to your C:\ drive instead, and updating your Registry with the new path. If you don't know how to do that, just write and i'll give you a small guide.
The reason i want you to do this, is because i have a suspicion that the Grimoire part of RtC might only work on the C:\ drive, but i'm the only one i know that don't have my wc3 on C:\ drive, so i haven't been able to get it confirmed.
 

peq

peq

Level 6
Joined
May 13, 2007
Messages
171
I am using 1.21 and havent modified any file in the warcraft-directory since I reinstalled warcraft.

I think I better ask for help in the grimoire-thread@wc3c as it seems to be an issue with grimoire.
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
I can't figure out where the Demo map is. I found one for spells, with Spellbreakers casting blizzard. Another for interface, but the interface one did nothing as far as I could tell.
 
Level 7
Joined
Nov 12, 2005
Messages
299
OK, I had some spare time to I uploaded a repack version, 0.10b. Everything should work "out of the box" now, put the map you want to test inside the Maps directory (one demo included), run RtCLaucher, select the options you want and go for it.
 
Level 3
Joined
Dec 30, 2007
Messages
48
I downloaded RtC v0.10b and installed into one desktop folder, when I ran RtC.exe it encountered a problem and had to be closed. I installed again it to C:/, but also it gave same error reports. When I tried to launch RtCLaucher (Launcher?) it asked Warcraft III directory, when I gave it another error message appeared: "Failed to load ijl15.ddl". I' m using original Warcraft III with original expansion. I have latest Blizzard patch. Otherwise I could not access to Battle.net. OS is Windows XP Pro. Where to start looking problems ?
 
Level 7
Joined
Nov 12, 2005
Messages
299
If the launcher is asking for a directory then that means it failed to find it in the registry...
First run wc3dir.exe and tell me what output you get (should be your wc3 directory or "Not found").
Also try running the game by using startwar3.bat, put it in the rtc directory first and then try. If it doesn't work then tell me what output you get in the console.
 

Attachments

  • wc3dir.zip
    37.8 KB · Views: 149
  • startwar3.zip
    185 bytes · Views: 87
Level 3
Joined
Dec 30, 2007
Messages
48
> First run wc3dir.exe and tell me what output you get

I ran it from desktop it gave: "Not found". I moved wc3dir.exe to C:/ RtC, still it output: "Not found".

EDIT:
startwar3.bat opened Warcraft III TFT, but I could not access to RtC Map folder (No wonder I guess). I then created new folder in my Warcraft III Maps folder and put RtC test map into it. When I tried to start map, it always came back to map options screen. I hit 'Start Game' button, menus raised up, screen went black and menus fell back.
Output from startwar3.bat:
startwar3.bat said:
C:\RtC v0.10b>bin\exehack.exe -s war3.lua
Grimoire 1.4 9/17/2007
Attempt to open Software\Blizzard Entertainment\Warcraft III\InstallPath failed:
Could not open registry value
Attempt to open Software\Blizzard Entertainment\Warcraft III\InstallPathX failed
: Could not open registry value
Attempt to open Software\Blizzard Entertainment\Warcraft III\InstallPath failed:
Could not open registry key
Attempt to open Software\Blizzard Entertainment\Warcraft III\InstallPathX failed
: Could not open registry key
found Software\Grimoire\War3InstallPath : C:\Program Files\Warcraft III
starting C:\Program Files\Warcraft III\war3.exe war3.exe
injecting bin\ongameload.dll...302 8b55ff8b...done

C:\RtC v0.10b>pause
Press any key to continue . . .
Terminate batch job (Y/N)?
EDIT2: RtC demo map didn' t also showed player slots. I hope I don' t have to reinstall Warcraft III with TFT because my cd-keys are missing and I got only TFT CD.
 
Last edited:
Level 7
Joined
Nov 12, 2005
Messages
299
From some reason your registry doesn't have the WC3 path written where it's supposed to be. Are you using the English version?
Anyway here's a fix, this .reg file will add InstallPath to your registry and (hopefully) make both the Launcher and RtC.exe work.
 

Attachments

  • fixpath.zip
    315 bytes · Views: 101
Level 3
Joined
Dec 30, 2007
Messages
48
In War3InstallPath it' s: C:\Program Files\Warcraft III

> From some reason your registry doesn't have the WC3 path written where it's supposed to be.

Thats probably from using Registry Cleaner what almost deleted everything.

EDIT:
SFilip your fixpath.zip fixed the problem I was able to run RtC.exe now and even it loaded demo map. When I am killed in demo map is it supposed to throw you back to game choosing screen ? Thanks all you for your help.
Can newer RtC releases try to fix that problem automatically what I had?
 
Level 7
Joined
Nov 12, 2005
Messages
299
> is it supposed to throw you back to game choosing screen
Yes, that's how Mike made it.

> Can newer RtC releases try to fix that problem automatically what I had?
Yes, I'll see to it that both the Launcher and RtC.exe attempt to fix the paths if they're not found in the future releases. I'll also see to it that PipeDream finds out about this problem.

Either way, thank you for this report, it was very helpful.
 
Level 1
Joined
Dec 30, 2007
Messages
5
Hi guys i have a problem with getting this to work.
I've already downloaded RtC and imported the common.j into my map with the path "scripts\common.j".

I tryed to test it by using this Trigger:
JASS:
function Trig_TestTrig_Actions takes nothing returns nothing
    call DisplayTextToForce( GetPlayersAll(), I2S(GetMouseX()) )
endfunction

//===========================================================================
function InitTrig_TestTrig takes nothing returns nothing
    set gg_trg_TestTrig = CreateTrigger(  )
    call TriggerRegisterPlayerKeyEventBJ( gg_trg_TestTrig, Player(0), bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_LEFT )
    call TriggerAddAction( gg_trg_TestTrig, function Trig_TestTrig_Actions )
endfunction

If i want to save it, it says: "unregistered Basefunction"
I dont know what's the fault so plz help me!
 
Last edited:
Level 1
Joined
Dec 30, 2007
Messages
5
I wasn't able to start it over NewGen WE or the launcher.
I could only save the map when i turned of that Triggers can't be disabled.
 
Level 1
Joined
Dec 30, 2007
Messages
5
My Problem is that every time i want to save the map I get a compile error which says i would use an unregistered basefunction and I realy don't know why :p. If I don't let the editor disable the triggers and save anyway and try to start it with the launcher or NewGen it doesn't work! :p
 
Level 1
Joined
Dec 30, 2007
Messages
5
Done! But the problem still exists. I disabled the Syntax Checker and tried to start it with NewGen and the Launcher. I don't know what's the fault. I tried to make a map with the common.j file imported and no custom triggers and I still get the same error. What's the reason?

Edit: I solved the problem! I just merged the constants Data. Now everything works fine. Thx for your help ;)
 
Last edited:
Level 1
Joined
Feb 26, 2008
Messages
6
I get a similar error.
Anytime I import the "common.j" file, or any other .j type file (ex: with the //!import command), the map will simply not load.
If Ctrl-F9ed from New Gen editor, the main menu will show up.
If selected from map list in-game, the map list will simply show up again.
If I launch the map with the RtC map launcher, same thing occurs as the Ctrl-F9 thing.

Here's the war3map.j file that the compiler generates:
Code:
//===========================================================================

// 

// Mouse Test

// 

//   Warcraft III map script

//   Generated by the Warcraft III World Editor

//   Date: Sat Mar 01 13:15:07 2008

//   Map Author: olegbl

// 

//===========================================================================



//***************************************************************************

//*

//*  Global Variables

//*

//***************************************************************************



globals

    // Generated

    trigger                 gg_trg_Mouse               = null

endglobals



function InitGlobals takes nothing returns nothing

endfunction



//***************************************************************************

//*

//*  Unit Creation

//*

//***************************************************************************



//===========================================================================

function CreateUnitsForPlayer0 takes nothing returns nothing

    local player p = Player(0)

    local unit u

    local integer unitID

    local trigger t

    local real life



    set u = CreateUnit( p, 'Hblm', -588.3, -20.6, 338.356 )

endfunction



//===========================================================================

function CreatePlayerBuildings takes nothing returns nothing

endfunction



//===========================================================================

function CreatePlayerUnits takes nothing returns nothing

    call CreateUnitsForPlayer0(  )

endfunction



//===========================================================================

function CreateAllUnits takes nothing returns nothing

    call CreatePlayerBuildings(  )

    call CreatePlayerUnits(  )

endfunction



//***************************************************************************

//*

//*  Custom Script Code

//*

//***************************************************************************

//TESH.scrollpos=0

//TESH.alwaysfold=0



//***************************************************************************

//*

//*  Triggers

//*

//***************************************************************************



//===========================================================================

// Trigger: Mouse

//===========================================================================

//TESH.scrollpos=0

//TESH.alwaysfold=0

function onMouseDownF takes nothing returns nothing

    //debug call DisplayTextToForce(bj_FORCE_PLAYER[0], ("|cffffd700onMouseDown|r::|cffaaaaaa(" + I2S(GetMouseX()) + ", " + I2S(GetMouseY()) + ")|r"))

endfunction



function Trig_Mouse_Actions takes nothing returns nothing

    local trigger onMouseDown = CreateTrigger()

    //call TriggerRegisterMouseEvent(onMouseDown, EVENT_LMOUSEDOWN)

    call TriggerAddAction(onMouseDown, function onMouseDownF)

endfunction



//===========================================================================

function InitTrig_Mouse takes nothing returns nothing

    set gg_trg_Mouse = CreateTrigger(  )

    call TriggerAddAction( gg_trg_Mouse, function Trig_Mouse_Actions )

endfunction//===========================================================================

function InitCustomTriggers takes nothing returns nothing

    call InitTrig_Mouse(  )

endfunction



//===========================================================================

function RunInitializationTriggers takes nothing returns nothing

    call ConditionalTriggerExecute( gg_trg_Mouse )

endfunction



//***************************************************************************

//*

//*  Players

//*

//***************************************************************************



function InitCustomPlayerSlots takes nothing returns nothing



    // Player 0

    call SetPlayerStartLocation( Player(0), 0 )

    call ForcePlayerStartLocation( Player(0), 0 )

    call SetPlayerColor( Player(0), ConvertPlayerColor(0) )

    call SetPlayerRacePreference( Player(0), RACE_PREF_HUMAN )

    call SetPlayerRaceSelectable( Player(0), true )

    call SetPlayerController( Player(0), MAP_CONTROL_USER )



endfunction



function InitCustomTeams takes nothing returns nothing

    // Force: TRIGSTR_002

    call SetPlayerTeam( Player(0), 0 )



endfunction



//***************************************************************************

//*

//*  Main Initialization

//*

//***************************************************************************



//===========================================================================

function main takes nothing returns nothing

    call SetCameraBounds( -1280.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), -1536.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 1280.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), 1024.0 - GetCameraMargin(CAMERA_MARGIN_TOP), -1280.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), 1024.0 - GetCameraMargin(CAMERA_MARGIN_TOP), 1280.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), -1536.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) )

    call SetDayNightModels( "Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl" )

    call NewSoundEnvironment( "Default" )

    call SetAmbientDaySound( "LordaeronSummerDay" )

    call SetAmbientNightSound( "LordaeronSummerNight" )

    call SetMapMusic( "Music", true, 0 )

    call CreateAllUnits(  )

    call InitBlizzard(  )

    call InitGlobals(  )

    call InitCustomTriggers(  )

    call RunInitializationTriggers(  )



endfunction



//***************************************************************************

//*

//*  Map Configuration

//*

//***************************************************************************



function config takes nothing returns nothing

    call SetMapName( "TRIGSTR_003" )

    call SetMapDescription( "" )

    call SetPlayers( 1 )

    call SetTeams( 1 )

    call SetGamePlacement( MAP_PLACEMENT_USE_MAP_SETTINGS )



    call DefineStartLocation( 0, -640.0, 0.0 )



    // Player setup

    call InitCustomPlayerSlots(  )

    call SetPlayerSlotAvailable( Player(0), MAP_CONTROL_USER )

    call InitGenericPlayerSlots(  )

endfunction

Seems that any time a "native" type is defined, this kind of thing happens.
Oh, btw, if I use RtCInstall.exe to modify my map files, they produce a "syntax error" for literally the whole map script upon compilation.
-- olegbl
 
Level 1
Joined
Feb 26, 2008
Messages
6
Windows Vista Ultimate.
I'm running everything "As Administrator", aka, giving it full privileges.
I've read stuff that other people posted, about the corrupt war3.exe's and such, so I reinstalled everything (Game + NewGen + RTC), but the "errors" don't go away.
 
Level 1
Joined
Feb 26, 2008
Messages
6
Actually, as I've discovered in the last hour, you might want to wait on that...
I *think* it's the Grimoire, but when I compile maps using the editor (we.bat), any kinds of trigger events (TriggerRegister____), cause a crash in the game (unable to read memory). I tried the normal world editor (World Editor.exe in WC3 directory), and it did not cause the same bug...
Also, I haven't had this bug before updating Grimoire.
-- olegbl
 
Status
Not open for further replies.
Top