P a r a s i t e - zeta

This is a discussion on P a r a s i t e - zeta within the Starcraft 2 Custom Maps board part of the Starcraft 2 forum category; Anyone know how to change the karma here? it seems to reset my karma back to zero when I edit ...

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Frosayoi is offline Newbie
    Array
    Join Date
    Mar 2018
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    P a r a s i t e - zeta

    Anyone know how to change the karma here? it seems to reset my karma back to zero when I edit the karma


  2. #2
    LongSimple is offline Wannabe Member
    Array
    Join Date
    Feb 2013
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    7
    Reputation
    5
    Quote Originally Posted by Frosayoi View Post
    Anyone know how to change the karma here? it seems to reset my karma back to zero when I edit the karma
    This would definitely be cool

  3. #3
    Sterillium's Avatar
    Sterillium is offline Cleaner


    Array
    Join Date
    Nov 2016
    Location
    Switzerland
    Posts
    381
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    603
    Quote Originally Posted by LongSimple View Post
    This would definitely be cool
    Can u post a example of the bankfile here?
    If its encrypted i get motivated lol

  4. The Following User Says Thank You to Sterillium For This Useful Post:


  5. #4
    Frosayoi is offline Newbie
    Array
    Join Date
    Mar 2018
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    I see, well then

    <?xml version="1.0" encoding="utf-8"?><Bank version="1">
    <Section name="Main">
    <Key name="VH">
    <Value int="207689189"/>
    </Key>
    <Key name="RH">
    <Value int="145201499"/>
    </Key>
    <Key name="GGHG">
    <Value int="507872412"/>
    </Key>
    <Key name="ZZ">
    <Value string="533694080"/>
    </Key>
    <Key name="CU">
    <Value int="390577748"/>
    </Key>
    <Key name="JK">
    <Value string="-568492729"/>
    </Key>
    <Key name="XLCL">
    <Value string="4841715"/>
    </Key>
    <Key name="R1l">
    <Value int="667698094"/>
    </Key>
    <Key name="L11">
    <Value int="466433568"/>
    </Key>
    <Key name="12A">
    <Value int="802039759"/>
    </Key>
    <Key name="KJHIL">
    <Value string="47601863"/>
    </Key>
    <Key name="NOL">
    <Value string="2140976268"/>
    </Key>
    <Key name="L1l">
    <Value int="584069226"/>
    </Key>
    <Key name="RNTN">
    <Value string="549265012"/>
    </Key>
    <Key name="H1N">
    <Value int="688752874"/>
    </Key>
    <Key name="KL">
    <Value int="310967076"/>
    </Key>
    <Key name="L12">
    <Value int="508602323"/>
    </Key>
    <Key name="R9">
    <Value int="374069894"/>
    </Key>
    <Key name="OO">
    <Value int="469277527"/>
    </Key>
    <Key name="13A">
    <Value int="642712819"/>
    </Key>
    <Key name="MKNK">
    <Value string="-926070136"/>
    </Key>
    <Key name="LLX">
    <Value int="449144404"/>
    </Key>
    <Key name="LC">
    <Value int="702655694"/>
    </Key>
    <Key name="l3A">
    <Value int="757675696"/>
    </Key>
    <Key name="G6">
    <Value int="545523077"/>
    </Key>
    <Key name="XD">
    <Value string="-1374302302"/>
    </Key>
    <Key name="GF">
    <Value string="857626130"/>
    </Key>
    </Section>
    <Section name="L">
    <Key name="K">
    <Value int="8"/>
    </Key>
    </Section>
    <Signature value="A1D54E602C3506D3547C3AA2A30765E2D48DDF7B"/>
    </Bank>


  6. #5
    Sterillium's Avatar
    Sterillium is offline Cleaner


    Array
    Join Date
    Nov 2016
    Location
    Switzerland
    Posts
    381
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    603
    Quote Originally Posted by Frosayoi View Post
    I see, well then
    nothing is encrypted there, just simple maths, u guys can do that for yourself.
    Solution 1: Look at the Mapscript how its calculated.
    Solution 2: Look in the Bankfile after In/De-crease of the Karma whats changed in the file.

    good luck!

  7. #6
    Frosayoi is offline Newbie
    Array
    Join Date
    Mar 2018
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Thanks Sterillium

  8. #7
    wurdalak is offline Newbie
    Array
    Join Date
    Apr 2019
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Parasite - Zeta

    Hello. I have a problem with parazite-zeta custom map (just Parasite on EU server). I'm doing everithing by Guide instruction. (extracted map with starbank, added ComponentList.SC2Components to sc2map). I can open it with SC2 game editor, but i can't launch it. (error opening match). Also, there is a lot of errors (notes). Anyone did it successfully? Can you help me, please?
    Also, is it possible to run original game in lobby with customized script (for example, i changed some conditions, variables in MapScript. For example, there is a list of users groups (developers, who can use some commands. Can i add my user's handle to it?)).
    Last edited by wurdalak; 04-15-2019 at 09:00 PM.

  9. #8
    Frosayoi is offline Newbie
    Array
    Join Date
    Mar 2018
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    So I looked in the mapscript and anything close to setting karma that I could find is this one.
    Did I get this correct? I am also trying to figure out how it is calculated

    [spoiler]
    // Trigger: -set karma
    //--------------------------------------------------------------------------------------------------
    bool gt_setkarma_Func (bool testConds, bool runActions) {
    // Variable Declarations
    int lv_karma;


    // Automatic Variable Declarations
    // Variable Initialization


    // Conditions
    if (testConds) {
    if (!(((PlayerGroupHasPlayer(gv_developer, EventPlayer()) == true) || (PlayerGroupHasPlayer(gv_moderators, EventPlayer()) == true) || (PlayerHandle(EventPlayer()) == "1-S2-1-3270554") || (PlayerHandle(EventPlayer()) == "3-S2-1-5691919") || (PlayerHandle(EventPlayer()) == "2-S2-1-6580713") || (PlayerHandle(EventPlayer()) == "3-S2-1-3830671")))) {
    return false;
    }
    }


    // Actions
    if (!runActions) {
    return true;
    }


    lv_karma = StringToInt(StringSub(EventChatMessage(false), 12, 14));
    if ((lv_karma >= 0) && (lv_karma <= 100)) {
    BankLoad("ZZRec", UnitGetOwner(UnitGroupUnit(UnitGroupSelected(Event Player()), 1)));
    BankValueSetFromInt(BankLastCreated(), "L", "K", lv_karma);
    BankValueSetFromString(BankLastCreated(), "Main", "GF", IntToString(((BankValueGetAsInt(BankLastCreated(), "Main", "LC") + BankValueGetAsInt(BankLastCreated(), "L", "K")) * BankValueGetAsInt(BankLastCreated(), "Main", "RH"))));
    BankSave(BankLastCreated());
    UIDisplayMessage(PlayerGroupSingle(EventPlayer()), c_messageAreaDebug, (StringExternal("Param/Value/07536353") + PlayerName(UnitGetOwner(UnitGroupUnit(UnitGroupSel ected(EventPlayer()), 1))) + StringExternal("Param/Value/BEA57F3B") + IntToText(lv_karma)));
    }


    return true;
    }
    [/spoiler]

  10. #9
    Sterillium's Avatar
    Sterillium is offline Cleaner


    Array
    Join Date
    Nov 2016
    Location
    Switzerland
    Posts
    381
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    6
    Reputation
    603
    Quote Originally Posted by Frosayoi View Post
    So I looked in the mapscript and anything close to setting karma that I could find is this one.
    Did I get this correct? I am also trying to figure out how it is calculated
    Code:
    BankValueSetFromInt(BankLastCreated(), "L", "K", lv_karma);
    BankValueSetFromString(BankLastCreated(), "Main", "GF", IntToString(((BankValueGetAsInt(BankLastCreated(), "Main", "LC") + BankValueGetAsInt(BankLastCreated(), "L", "K")) * BankValueGetAsInt(BankLastCreated(), "Main", "RH"))));
    
    there you go

    if u dont see it:

    GF = 702655694 + 8 * 45201499

    now calculate all the values backwards, done.

  11. The Following 2 Users Say Thank You to Sterillium For This Useful Post:


  12. #10
    Frosayoi is offline Newbie
    Array
    Join Date
    Mar 2018
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    I'm confused as to how the GF even got that value, I calculated GF=LC+K*RH, and I get GF=18642676861
    rather than GF=857626130

    This is following the
    GF = 702655694 + 8 * 145201499
    Last edited by Frosayoi; 04-16-2019 at 11:56 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 17
    Last Post: 10-20-2017, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •