- Joined
- Aug 15, 2011
- Messages
- 582
- Reaction score
- 69
Any idea what need to change the setting item editor to be able to wrapped the saint ring i am using juver based!
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!GLItem.cpp
BOOL SITEM::isWrappable ()
{
if ( sBasicOp.dwReqActivityPoint != 0 ) return FALSE; //activity item
if ( sBasicOp.dwReqContributionPoint != 0 ) return FALSE; //contribution item
if ( sBasicOp.IsEVENT() ) return FALSE; //event item
if ( sBasicOp.IsDISGUISE() ) return FALSE; //costume
if ( IsTIMELMT() ) return FALSE; //expiry
if ( sBasicOp.sNativeID.wMainID == 76 ) return FALSE; //gm item
if ( sBasicOp.emItemType != ITEM_SUIT &&
sBasicOp.emItemType != ITEM_VEHICLE ) return FALSE; //wear item
if ( sSuitOp.emSuit != SUIT_HEADGEAR &&
sSuitOp.emSuit != SUIT_UPPER &&
sSuitOp.emSuit != SUIT_LOWER &&
sSuitOp.emSuit != SUIT_HAND &&
sSuitOp.emSuit != SUIT_FOOT &&
sSuitOp.emSuit != SUIT_HANDHELD &&
sSuitOp.emSuit != SUIT_VEHICLE &&
sSuitOp.emSuit != SUIT_BELT /*&&
sSuitOp.emSuit != SUIT_FINGER*/ ) return FALSE;
return TRUE;
}
Change to:
BOOL SITEM::isWrappable ()
{
if ( sBasicOp.dwReqActivityPoint != 0 ) return FALSE; //activity item
if ( sBasicOp.dwReqContributionPoint != 0 ) return FALSE; //contribution item
if ( sBasicOp.IsEVENT() ) return FALSE; //event item
if ( sBasicOp.IsDISGUISE() ) return FALSE; //costume
if ( IsTIMELMT() ) return FALSE; //expiry
if ( sBasicOp.sNativeID.wMainID == 76 ) return FALSE; //gm item
if ( sBasicOp.emItemType != ITEM_SUIT &&
sBasicOp.emItemType != ITEM_VEHICLE ) return FALSE; //wear item
if ( sSuitOp.emSuit != SUIT_HEADGEAR &&
sSuitOp.emSuit != SUIT_UPPER &&
sSuitOp.emSuit != SUIT_LOWER &&
sSuitOp.emSuit != SUIT_HAND &&
sSuitOp.emSuit != SUIT_FOOT &&
sSuitOp.emSuit != SUIT_HANDHELD &&
sSuitOp.emSuit != SUIT_VEHICLE &&
sSuitOp.emSuit != SUIT_BELT &&
sSuitOp.emSuit != SUIT_FINGER &&
sSuitOp.emSuit != SUIT_WING &&
sSuitOp.emSuit != SUIT_EARRING &&
sSuitOp.emSuit != SUIT_ACCESSORY &&
sSuitOp.emSuit != SUIT_NECK &&
sSuitOp.emSuit != SUIT_WRIST ) return FALSE;
return TRUE;
}
PHP:GLItem.cpp BOOL SITEM::isWrappable () { if ( sBasicOp.dwReqActivityPoint != 0 ) return FALSE; //activity item if ( sBasicOp.dwReqContributionPoint != 0 ) return FALSE; //contribution item if ( sBasicOp.IsEVENT() ) return FALSE; //event item if ( sBasicOp.IsDISGUISE() ) return FALSE; //costume if ( IsTIMELMT() ) return FALSE; //expiry if ( sBasicOp.sNativeID.wMainID == 76 ) return FALSE; //gm item if ( sBasicOp.emItemType != ITEM_SUIT && sBasicOp.emItemType != ITEM_VEHICLE ) return FALSE; //wear item if ( sSuitOp.emSuit != SUIT_HEADGEAR && sSuitOp.emSuit != SUIT_UPPER && sSuitOp.emSuit != SUIT_LOWER && sSuitOp.emSuit != SUIT_HAND && sSuitOp.emSuit != SUIT_FOOT && sSuitOp.emSuit != SUIT_HANDHELD && sSuitOp.emSuit != SUIT_VEHICLE && sSuitOp.emSuit != SUIT_BELT /*&& sSuitOp.emSuit != SUIT_FINGER*/ ) return FALSE; return TRUE; }
PHP:Change to: BOOL SITEM::isWrappable () { if ( sBasicOp.dwReqActivityPoint != 0 ) return FALSE; //activity item if ( sBasicOp.dwReqContributionPoint != 0 ) return FALSE; //contribution item if ( sBasicOp.IsEVENT() ) return FALSE; //event item if ( sBasicOp.IsDISGUISE() ) return FALSE; //costume if ( IsTIMELMT() ) return FALSE; //expiry if ( sBasicOp.sNativeID.wMainID == 76 ) return FALSE; //gm item if ( sBasicOp.emItemType != ITEM_SUIT && sBasicOp.emItemType != ITEM_VEHICLE ) return FALSE; //wear item if ( sSuitOp.emSuit != SUIT_HEADGEAR && sSuitOp.emSuit != SUIT_UPPER && sSuitOp.emSuit != SUIT_LOWER && sSuitOp.emSuit != SUIT_HAND && sSuitOp.emSuit != SUIT_FOOT && sSuitOp.emSuit != SUIT_HANDHELD && sSuitOp.emSuit != SUIT_VEHICLE && sSuitOp.emSuit != SUIT_BELT && sSuitOp.emSuit != SUIT_FINGER && sSuitOp.emSuit != SUIT_WING && sSuitOp.emSuit != SUIT_EARRING && sSuitOp.emSuit != SUIT_ACCESSORY && sSuitOp.emSuit != SUIT_NECK && sSuitOp.emSuit != SUIT_WRIST ) return FALSE; return TRUE; }
Thanks Aizen! PM me i will give you LG7 Global Ranking No need Dll already bypass!
I know this is an old thread.
but this helped me fixed mine to be able to wrap the saint ring
but I have this problem it only works on my EMULATOR
when I patched this it still item cannot be wrap.
what else am I missing? Same Juver base file
Mine is like this, if for saint ring only.
BOOL SITEM::isWrappable ()
{
if ( sBasicOp.dwReqActivityPoint != 0 ) return FALSE; //activity item
//if ( sBasicOp.dwReqContributionPoint ) return TRUE; //contribution item
if ( sBasicOp.sNativeID.wMainID == 302 && sBasicOp.sNativeID.wSubID >= 79 ) return TRUE; //contribution item
if ( sBasicOp.IsEVENT() ) return FALSE; //event item
if ( sBasicOp.IsDISGUISE() ) return FALSE; //costume
if ( IsTIMELMT() ) return FALSE; //expiry
if ( sBasicOp.sNativeID.wMainID == 76 ) return FALSE; //gm item
if ( sBasicOp.sNativeID.wMainID == 65 && sBasicOp.sNativeID.wSubID == 60) return FALSE; //saint ring low
if ( sBasicOp.sNativeID.wMainID == 65 && sBasicOp.sNativeID.wSubID == 61) return FALSE; //saint ring mid
if ( sBasicOp.sNativeID.wMainID == 65 && sBasicOp.sNativeID.wSubID == 62) return FALSE; //saint ring high
if ( sBasicOp.sNativeID.wMainID == 15 && sBasicOp.sNativeID.wSubID == 3) return FALSE; //black knife ganil
if ( sSuitOp.emSuit == SUIT_WING ) return FALSE; //item wings
if ( sBasicOp.emItemType != ITEM_SUIT &&
sBasicOp.emItemType != ITEM_VEHICLE ) return FALSE; //wear item
if ( sSuitOp.emSuit != SUIT_HEADGEAR &&
sSuitOp.emSuit != SUIT_UPPER &&
sSuitOp.emSuit != SUIT_LOWER &&
sSuitOp.emSuit != SUIT_HAND &&
sSuitOp.emSuit != SUIT_FOOT &&
sSuitOp.emSuit != SUIT_HANDHELD &&
sSuitOp.emSuit != SUIT_VEHICLE &&
sSuitOp.emSuit != SUIT_BELT &&
sSuitOp.emSuit != SUIT_FINGER ) return FALSE;
return TRUE;
}
If you'd want your saint rings to be wrap, just return the value to true. what i did there is i excluded the saint rings to be wrapped.I'll try your logic. This might bypass my problem. Thanks for sharing +like
If you'd want your saint rings to be wrap, just return the value to true. what i did there is i excluded the saint rings to be wrapped.
its still not working on my server.
but it is working using EMULATOR.
maybe there is another file to allow it or is preventing it to be wrapped.
im using JUVER base
still? Pm me your facebook so i can help you thoroughly.