Loading...
  1. Dismiss Notice
  2. Dismiss Notice
  3. Dismiss Notice
  4. Dismiss Notice
  5. If this is your first visit, you may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Requesting Aion coding help

Discussion in 'Old Threads' started by Zenomex, Apr 6, 2011.

  1. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
    Ello.

    I'd really like to know how to adjust the item pak stuff on server-side. As in making them tradeable.

    ~Zenomex
     
  2. Lust4Hate

    Lust4Hate Banned

    Joined:
    Mar 31, 2011
    Messages:
    210
    Likes Received:
    48
    Trophy Points:
    0
    Location:
    Florida
    You mean like editing a server to make things tradable?
     
  3. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
  4. Smartik1

    Smartik1 Walking F.A.Q. Forum Legend

    Joined:
    Aug 1, 2010
    Messages:
    10,670
    Likes Received:
    5,397
    Trophy Points:
    588
    yeah coz the items.pak is client side only, he needs to setup server side too :p
     
  5. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
    Bumping. ~
     
  6. BetaMax

    BetaMax Lord Emperor Forum Legend

    Joined:
    Sep 22, 2010
    Messages:
    4,524
    Likes Received:
    2,221
    Trophy Points:
    458
    Location:
    Illinois
    you planning to launch a server of your own?
     
  7. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    1. why do you need that?
    2. There are several ways to achieve it. Which one do you prefer: hard way or easy way?
     
  8. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
    I'd like to know both of the ways, please :)
     
  9. SoVIPso

    SoVIPso Banned

    Joined:
    Apr 6, 2011
    Messages:
    42
    Likes Received:
    6
    Trophy Points:
    0
    2-Ways hmm? :D
     
  10. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    Hard way is to change itemmasks (permissions are taken bitwise from itemmask which is actually a binary number) for each item you want to change permissions in item_templates.xml (search and replace(all) helps a lot).
    Easy way is to always return true on isTradeable() check and add exceptions for items you dont want to be tradeable.
     
  11. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
    Will that change the dyeable and remodellable stuff aswell?
     
  12. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    those have separate checks that you can set to return true to enable for all items without exceptions.
    just look in \trunk\GameServer\src\com\{emu name}\gameserver\model\templates\item\ItemTemplate.java
     
  13. Zenomex

    Zenomex Banned Forum Legend

    Joined:
    Dec 9, 2010
    Messages:
    999
    Likes Received:
    415
    Trophy Points:
    333
    Location:
    In ur panties.
    dec asks ''where's the trunk folder''
     
  14. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    i think your friend shouldnt work on server files... unless he downloaded already compiled version of server (in that case he wont be able to change anything in core)
     
  15. Starshotz

    Starshotz New Member

    Joined:
    Mar 1, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    England
    we have access to the core, however;

    is what we find in 'ItemTemplate.java' ;

    we find this in 'ItemMask.java'

    and finally to show you an expample of ABG bow from 'item_templates.xml' ;

    We see nothing related to trade attributes in the XML, and nothing related to true/false in the java. Could you explain a little more please :) Thanks in advance
     
  16. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    if those dont tell you anything... then sorry, i will not spoon-feed you.
    ...
     
  17. SoVIPso

    SoVIPso Banned

    Joined:
    Apr 6, 2011
    Messages:
    42
    Likes Received:
    6
    Trophy Points:
    0
    <item_template id="101700749" level="55" mask="48" trolololol weapon_type="BOW" max_stack_count="1" item_type="abyss" quality="EPIC" price="2499500" ap="3292800" ai="186000096" aic="163" race="ALL" can_proc_enchant="true" option_slot_bonus="0" restrict="55,55,55,55,55,55,55,55,55,55,55,55" desc="1516023" attack_gap="0.0" attack_type="physical" dmg_decal="2" slot="1" equipment_type="WEAPON">
    <modifiers>
    <set value="2400" name="ATTACK_SPEED"/>
    <add value="936" name="PHYSICAL_ACCURACY"/>
    <add value="311" name="MAGICAL_ACCURACY"/>
    <add value="50" name="PHYSICAL_CRITICAL"/>
    <add value="250" name="MIN_DAMAGES"/>
    <add value="340" name="MAX_DAMAGES"/>
    <mean max="340" min="250" name="POWER"/>
    <set value="25000" name="ATTACK_RANGE"/>
    <set value="1" name="HIT_COUNT"/>
    <add value="67" bonus="true" name="PHYSICAL_CRITICAL"/>
    <rate value="-19" bonus="true" name="ATTACK_SPEED"/>
    <add value="149" bonus="true" name="PHYSICAL_ACCURACY"/>
    <add value="100" bonus="true" name="PVP_ATTACK_RATIO"/>
    </modifiers>
    </item_template>
     
  18. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    You're a smart one, as Boo sometimes (c) Minsk@Baldur's gate II
    ^_^
     
  19. Starshotz

    Starshotz New Member

    Joined:
    Mar 1, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    England
    yes at first the mask value seems the obvious one, but the value 48? so if that's 4,8 - that means this item has only 2 attributes and those are 1. store in WH and 2. deletes on logout - this doesnt apply to abg bow. also looking at other masks i see mask = 626, why is 6 twice?
     
  20. Asanka

    Asanka ~watching over you~

    Joined:
    Sep 3, 2010
    Messages:
    1,383
    Likes Received:
    494
    Trophy Points:
    0
    o_O.
    48 = 0011 0000
    626 = 0010 0111 0010
    easy huh?
     

Share This Page