Connect Item and Stored Procedur

Results 1 to 4 of 4
  1. #1
    I ♥ Coding BlackNova is offline
    MemberRank
    Jan 2010 Join Date
    235Posts

    Connect Item and Stored Procedur

    Is there a way to do this ?
    How does a Skill reset item or smth like this work ?
    Im already looking for it but cant find a column like that. Would be nice if know how to do smth like that.

    edit: or Inventory Expension item
    Last edited by BlackNova; 23-03-13 at 09:10 AM.


  2. #2
    Proficient Member benike1 is offline
    MemberRank
    Dec 2006 Join Date
    163Posts

    Re: Connect Item and Stored Procedur

    these functions/triggers are coded into the gameserver.

  3. #3
    Enthusiast ZeAphexTwin is offline
    MemberRank
    Jul 2012 Join Date
    26Posts

    Re: Connect Item and Stored Procedur

    That one is easy, problem is if i want a scroll to teleport so the effect will be activated..
    Last edited by ZeAphexTwin; 18-09-13 at 01:31 PM.

  4. #4
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Connect Item and Stored Procedur

    If you want to create an item that teleports you or does something else.... you can check the GS.exe itself... your name title says "I love coding" so you might wanna look into it.
    Just found something intrested... most likely its linked to the Char Skin Change Scroll...


    PHP Code:
    LABEL_17:
        
    v11 = *(_DWORD *)(a2 52);
        if ( 
    a1 != *(_DWORD *)(v11 40) )
        {
          if ( 
    dword_DC0F44 )
            *(
    _DWORD *)(v11 40) = a1;
          else
            
    sub_9CE0C0();
        }
        
    v12 = *(_DWORD *)(a2 52);
        if ( 
    a3 != *(_BYTE *)(v12 100) )
        {
          if ( 
    dword_DC0F44 )
            *(
    _BYTE *)(v12 100) = a3;
          else
            
    sub_9CE0C0();
        }
        *(
    _DWORD *)(*(_DWORD *)(a2 52) + 24) = 0;
        (*(
    void (**)(void))(**(_DWORD **)(a2 52) + 36))();
        
    v13 = *(_DWORD *)(a2 52);
        
    v14 = *(_DWORD *)(v13 12);
        *(
    _DWORD *)(v13 8) |= 0x20u;
        *(
    _DWORD *)(v13 12) = v14;
        
    v15 = (*(int (__thiscall **)(int))(*(_DWORD *)a2 960))(a2);
        if ( !
    sub_426000("UPDATE _CHAR SET REFOBJID = %d, SCALE = %d WHERE CHARID = %d"a1a3v15) )
        {
          
    sub_444730(&v18);
          (*(
    void (__thiscall **)(intsigned int))(*(_DWORD *)a2 1384))(a264);
          if ( *(
    _DWORD *)(a2 7396) )
          {
            
    v16 = (*(int (__thiscall **)(int))(*(_DWORD *)a2 960))(a2);
            
    sub_601D20(*(_DWORD *)(a2 7396), v167a1);
          }
          
    sub_4ED130(a2013u1.04);
          return 
    1;
        }
        
    sub_9CE0C0();
        return 
    2;
      } 



Advertisement