Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 14:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] Switcher+ 100% DE LIKE (PY & LUA)

Discussion on [RELEASE] Switcher+ 100% DE LIKE (PY & LUA) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 02/28/2016, 18:14   #16
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 274
Quote:
Originally Posted by RealReznov View Post
item.set_attribute and item.get_attribute c++ side pls?
search for it here or on m2d*v you will definitly find it any where
gerald500 is offline  
Old 02/28/2016, 20:57   #17
 
elite*gold: 0
Join Date: May 2015
Posts: 15
Received Thanks: 8
Quote:
Originally Posted by RealReznov View Post
item.set_attribute and item.get_attribute c++ side pls?
If you really want this switcher you can easy do it in source like normal swtiching item.
filipw1 is offline  
Old 02/29/2016, 01:41   #18
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,879
Received Thanks: 669
Nicht schlecht

Deine Systeme die du zurzeit machst sind einfach genial

Naja zum Thema Bugs.. klar muss man des ganze System erstmal ausprobieren.
Bei jedem System gab es mal welche aber jemand musste erstmal den ganzen Kram testen bevor man überhaupt was finden kann Leider mangelt es mir an Zeit des System mal zu testen


Gruß
Endless. is offline  
Thanks
1 User
Old 02/29/2016, 20:47   #19
 
elite*gold: 50
Join Date: May 2011
Posts: 269
Received Thanks: 986
This version of this system is far away from the official version.
Works, it's okay. (Maybe, I did not test it, I'm ignoring pylua systems)
- But, where is the slot locking method(not the whole inventory lock)?
- And where is the slot mark from the locked slot(the red glow)?
- Official window is not closable .
- Unknown: When you get disconnect by the server, what happens while you are used the item already but did not accept it(On GF).

Do you know what does it mean 100% GF Like?
I do not think so. This is only a LITE, an alternative, or a similar version, but not 100% GF Like.
Sorry for my rough style, but these are the real 100% GF Like systems which are not complete yet:
xP3NG3Rx is offline  
Thanks
2 Users
Old 03/01/2016, 17:38   #20
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 274
Quote:
Originally Posted by xP3NG3Rx View Post
This version of this system is far away from the official version.
Works, it's okay. (Maybe, I did not test it, I'm ignoring pylua systems)
- But, where is the slot locking method(not the whole inventory lock)?
- And where is the slot mark from the locked slot(the red glow)?
- Official window is not closable .
- Unknown: When you get disconnect by the server, what happens while you are used the item already but did not accept it(On GF).

Do you know what does it mean 100% GF Like?
I do not think so. This is only a LITE, an alternative, or a similar version, but not 100% GF Like.
Sorry for my rough style, but these are the real 100% GF Like systems which are not complete yet:
i watched a video on how this system is on official and its the same.

and the window isnt closable the button just exist and has no function.

when you get disconnected the window ist still opend when you login again
even if the gui is not the same the function of the system is 100% de like
gerald500 is offline  
Old 03/01/2016, 17:42   #21
 
elite*gold: 0
Join Date: Jan 2012
Posts: 120
Received Thanks: 17
Quote:
Originally Posted by xP3NG3Rx View Post
This version of this system is far away from the official version.
Works, it's okay. (Maybe, I did not test it, I'm ignoring pylua systems)
- But, where is the slot locking method(not the whole inventory lock)?
- And where is the slot mark from the locked slot(the red glow)?
- Official window is not closable .
- Unknown: When you get disconnect by the server, what happens while you are used the item already but did not accept it(On GF).

Do you know what does it mean 100% GF Like?
I do not think so. This is only a LITE, an alternative, or a similar version, but not 100% GF Like.
Sorry for my rough style, but these are the real 100% GF Like systems which are not complete yet:
You want rls this ?
Forcetraeger is offline  
Old 03/03/2016, 17:03   #22
 
elite*gold: 21
Join Date: Mar 2016
Posts: 31
Received Thanks: 2
Sehr schön , Danke!
MrSoNiice is offline  
Old 03/11/2016, 17:30   #23
 
elite*gold: 0
Join Date: Aug 2009
Posts: 220
Received Thanks: 25
N1ce Release,
hab aber ein Problem damit...

Hab alles genau so eingefügt; Clientside habe ich keinen Fehler!

Serverside habe ich das:


Compilte Quest:

notarget/button

notarget/info

notarget/login

state

Kann mir da jemand helfen? bzw. da etwas rauslesen???

Danke!
JeeX is offline  
Old 03/11/2016, 20:00   #24
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 274
Quote:
Originally Posted by JeeX View Post
N1ce Release,
hab aber ein Problem damit...

Hab alles genau so eingefügt; Clientside habe ich keinen Fehler!

Serverside habe ich das:


Compilte Quest:

notarget/button

notarget/info

notarget/login

state

Kann mir da jemand helfen? bzw. da etwas rauslesen???

Danke!
sieht so aus als hätteast du die item.get_attribute funktion nicht, genau so wie die item.set_attribute.

wenn du die 34k game benutzt gibts ne lib von imer

bei einer 40k musst du dich informieren wie die funktion bei deiner game heißt und ob sie überhaupt existiert. ansonsten musst du sie im source adden
gerald500 is offline  
Old 03/11/2016, 22:45   #25
 
elite*gold: 0
Join Date: Feb 2014
Posts: 479
Received Thanks: 563
Danke für das release eher was für Oldschools.

Lg
Shaytan  is offline  
Thanks
1 User
Old 03/12/2016, 08:22   #26
 
elite*gold: 0
Join Date: Jan 2016
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by gerald500 View Post
search for it here or on m2d*v you will definitly find it any where
No, it's not public on any other forum
RealReznov is offline  
Old 03/12/2016, 14:35   #27
 
elite*gold: 0
Join Date: Jan 2015
Posts: 110
Received Thanks: 177
Quote:
Originally Posted by RealReznov View Post
No, it's not public on any other forum

PHP Code:
int item_get_attribute(lua_StateL)
{
    
LPCHARACTER ch CQuestManager::instance().GetCurrentCharacterPtr();
    
LPITEM item CQuestManager::instance().GetCurrentItem();

    if (!
item)
    {
        
lua_pushnumber(L0);
        return 
1;
    }

    if (!
lua_isnumber(L1))
    {
        
sys_err("[%s] Wrong argument in item_get_attribute, need a number from range(0..%d)!"ch->GetName(), ITEM_ATTRIBUTE_MAX_NUM-2);
        
lua_pushnumber(L0);
        return 
1;
    }

    
int iAttrIndex = (int)lua_tonumber(L1);
    if (
iAttrIndex || iAttrIndex >= ITEM_ATTRIBUTE_MAX_NUM-2)
    {
        
sys_err("[%s]: Invalid index %d in item_get_attribute. Index out of range(0..%d)"ch->GetName(), iAttrIndexITEM_ATTRIBUTE_MAX_NUM-2);
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    const 
TPlayerItemAttributeAttrItem item->GetAttribute(iAttrIndex);

    
lua_newtable(L);

    
lua_pushnumber(LAttrItem[i].bType);
    
lua_rawseti(L, -21);

    
lua_pushnumber(LAttrItem[i].sValue);
    
lua_rawseti(L, -22);
    return 
1;
}

//0x0E
int item_set_attribute(lua_StateL)
{
    
LPCHARACTER ch CQuestManager::instance().GetCurrentCharacterPtr();
    
LPITEM item CQuestManager::instance().GetCurrentItem();

    if (!
item)
    {
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    if (!
lua_isnumber(L1))
    {
        
sys_err("[%s] Wrong argument[AttrIdx] in item_set_attribute, not number!"ch->GetName());
        
lua_pushboolean(Lfalse);
        return 
1;
    }
    else if (!
lua_isnumber(L2))
    {
        
sys_err("[%s] Wrong argument[AttrType] in item_set_attribute, not number!"ch->GetName());
        
lua_pushboolean(Lfalse);
        return 
1;
    }
    else if (!
lua_isnumber(L3))
    {
        
sys_err("[%s] Wrong argument[AttrValue] in item_set_attribute, not number!"ch->GetName());
        
lua_pushboolean(Lfalse);
        return 
1;
    }
    

    
int bAttrIndex = (int)lua_tonumber(L1);
    if (
bAttrIndex || bAttrIndex >= ITEM_ATTRIBUTE_MAX_NUM-2)
    {
        
sys_err("[%s]: Invalid index %d in item_set_attribute. Index out of range(0..%d)"ch->GetName(), bAttrIndexITEM_ATTRIBUTE_MAX_NUM-2);
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    
int bAttrType = (int)lua_tonumber(L2);
    if (
bAttrType || bAttrType >= MAX_APPLY_NUM)
    {
        
sys_err("[%s]: Invalid apply %d in item_set_attribute. Apply out of range(1..%d)"ch->GetName(), MAX_APPLY_NUM);
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    if (
item->HasAttr(bAttrType))
    {
        
sys_err("[%s]: Apply %d muliplicated in item_set_attribute."ch->GetName(), bAttrType);
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    
int bAttrValue = (int)lua_tonumber(L3);
    if (
bAttrValue || bAttrValue >= 32767)
    {
        
sys_err("[%s]: Invalid value %d in item_set_attribute. The value should be between 1 and 32767!"ch->GetName(), bAttrValue);
        
lua_pushboolean(Lfalse);
        return 
1;
    }

    
int bAttrCount item->GetAttributeCount();
    
//normal bonuses 1-5
    
if (bAttrCount && bAttrCount >= 0)
    {
        
item->SetAttribute(bAttrIndexbAttrTypebAttrValue);
        
lua_pushboolean(Ltrue);
    }
    else
        
lua_pushboolean(Lfalse);

    return 
1;

*~*TeacheR*~* is offline  
Old 03/14/2016, 17:53   #28
 
elite*gold: 0
Join Date: Jan 2016
Posts: 7
Received Thanks: 0
Thanks Now i'm going to try this system

Edit: Little client side bug: I must to move 2x to the item, to open the window.
Help
RealReznov is offline  
Reply


Similar Threads Similar Threads
[Release] Switcher
08/11/2012 - Last Chaos - 42 Replies
Also wie vllt schon einigen aufgefallen ist steht der Switcher nun Allen frei zu verfügung! Im Zuge der gestrigen Erkenntnis ist nun die Version v0.20 online gegangen und kann ab sofort runtergeladen werden. http://chaosprojekt.com/banner/single/Switcher.pn g v0.21 Diese weißt einige Änderungen und Fixes im Vergleich zu der gestern bereitgestellten Version auf. Ich bitte euch deshalb alle diese aktuelle Version runterzuladen! Viel Spaß und wieder mal ein ganz dickes Dankeschön an TinyGuy...
[RELEASE] COD Patch Switcher
05/26/2012 - Call of Duty - 8 Replies
Hey epvp, ich biete hier meinen Patch Switcher für Call of Duty 2 und Call of Duty 4 an. Das Programm habe ich selber mit Visual Basic geschrieben. Features Das Tool ändert die Version des Spiels in eine beliebig andere (siehe Screens).
[RELEASE]Bonus Switcher
07/09/2011 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 10 Replies
Hey leute, hier ist ein Bonusswitcher gecoded von r4yN Injector (C) by Padmak
[Release] Ingame-Switcher
06/05/2011 - Metin2 PServer Guides & Strategies - 24 Replies
Hallo e*pvp, ich veröffentliche hier meinen Ingame-DSS/FKS-Switcher. Das eigentliche Script stammt nicht von mir sondern vom v4a-Clienten. Ich habe es lediglich verändert. Veränderungen: Als Menüpunkt, anstelle des HilfeButtons, anwählbar. Kann DSS & FKS gleichzeitig switchen. Von 10 auf 1 Switcher reduziert. (Kann auch als MultiSwitcher veröffentlichen wenn es gefragt ist)



All times are GMT +2. The time now is 14:23.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2021 elitepvpers All Rights Reserved.