function addClientSurvivor
you must declare the kdr and hsr parameter to string in function addClientSurvivor
Printable View
Thanks Yuri All work
@Yuri-BR
Now go to FrontEnd.fla
\ Src \ Classes \ Warz \ front .open Frontend.asI do not need a program to open.
:beer:
Now go to FrontEnd.fla\ Src \ Classes \ Warz \ front .open Frontend.asI do not need a program to open.
Is it compatible with latest codex src 03.08.2015 ?
Can some one please explain this error to me. I am new at this and need some help with this code. I keep getting the same error and do not know what to do as this tutorial is not complete.
Error:
\src\classes\warz\frontend\FrontendDebug.as, Line 107 1067: Implicit coercion of a value of type String to an unrelated type int.
@lukasccb i am an idiot. i was putting "" before and after 0.00 because i was following Yuri's post.
- - - Updated - - -
@lucasccb I have the code right thanks to you but now i have this error. this all the screen shows now.
Attachment 157478
I get the Error when i go to change the FLA file and publish. I am editing the text file in the timeline. am i editing the FLA file wrong?
look at this brah...
Quote:
api.addClientSurvivor("Sagor", 100, 666, Math.random() * 100000, 0, 1, 0, 0, 0, 1, 100, 100, 100, 100, 36, 32, 0, 0, 0, "Good", "Hell", true, 100000, 0.00, 0.00, 0);
api.addClientSurvivor("Matt", 50, 777, Math.random() * 100000, 0, 1, 0, 0, 0, 0, 100, 100, 100, 100, 16, 16, 0, 0, 0, "Good", "Hell", false, 50, 0.00, 0.00, 0);
api.addClientSurvivor("phil", 50, 777, Math.random() * 100000, 0, 1, 0, 0, 0, 0, 100, 100, 100, 100, 16, 24, 0, 0, 0, "Good", "Hell", false, 500000, 0.00, 0.00, 0);
Close Comment
I Love Ragezone
Close Comment
Problem
how to fix this Thank you I'm use flash source by codexPoQuote:
D:\WarZ Server Backup\งานเซิรืฟเวอร์\src\classes\warz\frontend\CreateSurvivorScreen.as, Line 502 1136: Incorrect number of arguments. Expected 26.
in line 502 in CreateSurvivorScreen.as is.
Quote:
created = true;
if (api.isDebug)
{
api.addClientSurvivor (CreateSurv.Inputs.Name.InputText.text, 100, 0, 0, hardcore, 0, 0, 0, 0, 1, 100, 100, 100, 100, 16, 0, 0, 0, 0, "Good", "", true, 100);
api.createCharSuccessful (api.Survivors.length - 1);
}
else
{
CreateSurv.Inputs.Name.InputText.text = warz.Utils.trimWhitespace(CreateSurv.Inputs.Name.InputText.text);
FrontEndEvents.eventCreateCharacter(CreateSurv.Inputs.Name.InputText.text, curHero.itemID, hardcore, head, body, legs);
}