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

Problem saving map warcraft 1.24b

Status
Not open for further replies.
Level 2
Joined
Jan 23, 2008
Messages
10
Hello everyone!
my problem is this need to give me a big help for my map using triggers auxiliaries like this:

function H2Ix takes handle pTarg returns integer
return pTarg
return 0
endfunction

function H2Tx takes handle pTarg returns string
return I2S(H2Ix(pTarg))
endfunction

function FastFlush takes string pTable returns nothing
call FlushStoredMission(udg_gc_DTAX_Core,pTable)
endfunction

function SetHandle takes string pTable,string pKey,handle pData returns nothing
call StoreInteger(udg_gc_DTAX_Core,pTable,pKey,H2Ix(pData))
endfunction

function SetInteger takes string pTable,string pKey,integer pData returns nothing
call StoreInteger(udg_gc_DTAX_Core,pTable,pKey,pData)
endfunction

function SetReal takes string pTable,string pKey,real pData returns nothing
call StoreReal(udg_gc_DTAX_Core,pTable,pKey,pData)
endfunction

function SetBoolean takes string pTable,string pKey,boolean pData returns nothing
call StoreBoolean(udg_gc_DTAX_Core,pTable,pKey,pData)
endfunction

function GetUnit takes string pTable,string pKey returns unit
return GetStoredInteger(udg_gc_DTAX_Core,pTable,pKey)
return null
endfunction

/////////////////////////////////////////////////
and a long list

download here for full scrpit

http://www.mediafire.com/file/k20xxytig2n/txt.txt

owe the help and sorry for the bad spelling newly learned English sorry.:grin:
 
Level 12
Joined
Dec 10, 2008
Messages
850
JASS:
function H2Ix takes handle pTarg returns integer
return pTarg
return 0
endfunction

This will cause the problem. change it to...

JASS:
function H2Ix takes handle pTarg returns integer
return GetHandleId(pTarg)
endfunction
Should work
 
Level 12
Joined
Mar 23, 2008
Messages
942
JASS:
function H2Ix takes handle pTarg returns integer
return pTarg
return 0
endfunction

This will cause the problem. change it to...

JASS:
function H2Ix takes handle pTarg returns integer
call GetHandleId(pTarg)
endfunction
Should work
Shouldn't be:

JASS:
function H2Ix takes handle pTarg returns integer
return GetHandleId(pTarg)
endfunction

?
 
Level 2
Joined
Jan 23, 2008
Messages
10
THANKS mprimer solved the error but still I get more errors, and are on the list havia post in notepad I think it's a long list of errors:cry:, just in case someone has to jasscraft esque version 1.24 is not much of and as an jass now much changed in the new version, the worse I do not understand. thanks:thumbs_up:





////////////////////
can check the link "txt" can check the link that I put in there is all the tigger aid kit that I use to my map. Please help me, and hurts me as zabez not solve the problem keeps coming to me but the first error was resolved, I ask you please help me, you know that, you congratulate your help ... that I put in there is all the tigger aid kit that I use to my map. Please help me, and hurts me as zabez not solve the problem keeps coming to me but the first error was resolved, I ask you please help me, you know that, you congratulate your help ...


I can transfer it to a text file to see how it
 
Last edited:
Status
Not open for further replies.
Top