[Tutorial] Kill/Death System Code

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33
  1. #16
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: [Tutorial] Kill/Death System Code

    function addClientSurvivor
    Quote Originally Posted by McGrumpy View Post
    Yuri look i have now this new errors


    can you maybe send me the full of "FrontendDebug.as" if you can Yuri and thanks for trying to help =D

    you must declare the kdr and hsr parameter to string in function addClientSurvivor

  2. #17
    Enthusiast McGrumpy is offline
    MemberRank
    Aug 2015 Join Date
    39Posts

    Re: [Tutorial] Kill/Death System Code

    Thanks Yuri All work

  3. #18
    Apprentice wqwqwq5555 is offline
    MemberRank
    Aug 2014 Join Date
    11Posts

    Re: [Tutorial] Kill/Death System Code

    @Yuri-BR
    Now go to FrontEnd.fla
    \ Src \ Classes \ Warz \ front .open Frontend.asI do not need a program to open.

    Now go to FrontEnd.fla\ Src \ Classes \ Warz \ front .open Frontend.asI do not need a program to open.

  4. #19
    Novice xendos is offline
    MemberRank
    Jun 2016 Join Date
    3Posts

    Re: [Tutorial] Kill/Death System Code

    Is it compatible with latest codex src 03.08.2015 ?

  5. #20
    ☆Dying Dawn☆ Bombillo is offline
    MemberRank
    Jan 2012 Join Date
    ValhallaLocation
    977Posts

    Re: [Tutorial] Kill/Death System Code

    Quote Originally Posted by xendos View Post
    Is it compatible with latest codex src 03.08.2015 ?
    this is not a problem of compatibility... this is a problem of knowledge, everything is compatible if you know the way to implemented

  6. #21
    Enthusiast Anarchy4Real is offline
    MemberRank
    Jul 2016 Join Date
    Houston, TXLocation
    33Posts

    angry Re: [Tutorial] Kill/Death System Code

    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.

  7. #22
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: [Tutorial] Kill/Death System Code

    Quote Originally Posted by Anarchy4Real View Post
    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.
    Go to FrontendDebug
    Search
    Code:
    api.addClientSurvivor(
    and add to final line
    Code:
    0.00, 0.00, 0);

  8. #23
    Enthusiast Anarchy4Real is offline
    MemberRank
    Jul 2016 Join Date
    Houston, TXLocation
    33Posts

    Re: [Tutorial] Kill/Death System Code

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

    screen_14062016_234515.jpg

  9. #24
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: [Tutorial] Kill/Death System Code

    Quote Originally Posted by Anarchy4Real View Post
    @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.

    screen_14062016_234515.jpg
    you did something wrong, check tutor again, because everything is right.

  10. #25
    Enthusiast Anarchy4Real is offline
    MemberRank
    Jul 2016 Join Date
    Houston, TXLocation
    33Posts

    Re: [Tutorial] Kill/Death System Code

    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?

  11. #26
    Account Upgraded | Title Enabled! Adnan DatLife is offline
    MemberRank
    Aug 2015 Join Date
    main.cppLocation
    207Posts

    Re: [Tutorial] Kill/Death System Code

    Quote Originally Posted by McGrumpy View Post
    Yuri look i have now this new errors


    can you maybe send me the full of "FrontendDebug.as" if you can Yuri and thanks for trying to help =D
    look at this brah...

    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);

  12. #27
    Apprentice flashdayth is offline
    MemberRank
    Aug 2016 Join Date
    10Posts

    Re: [Tutorial] Kill/Death System Code

    Close Comment
    I Love Ragezone
    Last edited by flashdayth; 21-08-16 at 01:46 PM.

  13. #28
    Apprentice flashdayth is offline
    MemberRank
    Aug 2016 Join Date
    10Posts

    Re: [Tutorial] Kill/Death System Code

    Close Comment
    Last edited by flashdayth; 21-08-16 at 01:45 PM.

  14. #29
    Account Upgraded | Title Enabled! Returnerzx is offline
    MemberRank
    Apr 2011 Join Date
    236Posts

    Re: [Tutorial] Kill/Death System Code

    Problem
    D:\WarZ Server Backup\งานเซิรืฟเวอร์\src\classes\warz\frontend\CreateSurvivorScreen.as, Line 502 1136: Incorrect number of arguments. Expected 26.
    how to fix this Thank you I'm use flash source by codexPo

    in line 502 in CreateSurvivorScreen.as is.
    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);
    }

  15. #30
    Apprentice MMO is offline
    MemberRank
    Aug 2015 Join Date
    localhostLocation
    13Posts

    Re: [Tutorial] Kill/Death System Code

    Quote Originally Posted by Returnerzx View Post
    Problem

    how to fix this Thank you I'm use flash source by codexPo

    in line 502 in CreateSurvivorScreen.as is.
    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,0.00, 0.00, 0)



Page 2 of 3 FirstFirst 123 LastLast

Advertisement