Jump to content
metin2dev

xP3NG3Rx

Developer
  • Content count

    412
  • Joined

  • Last visited

xP3NG3Rx last won the day on December 8

xP3NG3Rx had the most liked content!

Community Reputation

887 Unstoppable

About xP3NG3Rx

  • Rank
    Noble

Contact Methods

  • Website URL
    https://www.youtube.com/channel/UCWGBT3HQ0fWCXmUsJI06UXQ

Profile Information

  • Gender
    Male
  • Location
    No-man's land

Recent Profile Visitors

5,819 profile views
  1. Dragon Soul Bug (pay)

  2. open Python register script intrologin

    https://docs.python.org/2.7/ http://www.pythonforbeginners.com/urllib2/ Reading is the base of learning.
  3. open Move item in inventory bug <video>

    Stop beeing stupid. What I made that is only clientside visual bugfix. You have to edit the serverside part.
  4. Warning - Terebithia.pl

    I know. I have every files from there.
  5. Warning - Terebithia.pl

    Copyright? Where?
  6. If I'll be able to unpack it again I'll share it. After this leuco_shell shit right now I cannot unpack it.
  7. c++ Teleport Skill for Party

    He's just a jealous kid, nothing else.
  8. Have anyone this effects?

    If you extend the followings with a link of turkish forum, it's will be fine. /konu/3599508-kemik-efektleri/ or /konu/3602847-kemik-efektleri-c-py-paylasilan-ile-alakasi-yoktur/
  9. Hello. I saw this stuff on this and on another board also with bugs or it was incomplete, and I made it to myself. Feel free to use it with your brain. Good to know about this: The name of those items which have attributes will be golden. The skillbook and skillforget items will show the name of skill also. If the item isn't yours than the ownership color will be red instead of yellow. * Készségkönyv = Skillbook(id:50300) * Feledés könyve = Skillforget book(id:70037) PS.: If you have problems with the implementation: start to upgrade your programming knowledges and don't disturb me in private message, I won't answer. Thank you for understanding. https://mega.nz/#!KAh3DQqL!yQQX9o4N8sTsS7Woa4W07C8t5jwp0TV5xg7MHLSFz5Y
  10. [MiniFix] PartyRemovePacket

    Hello, Today I'm gonna share with you a little fix from the official server. https://pastebin.com/15aqnrif
  11. Anyone know what the fuk is this shit??
  12. Hello. The most people here and on every board in this section don't have any clue about programming and they cannot do even nothing with the open source library codes, so here are the cryptlib(5.6.3 and 5.6.5) and libjpeg(9a) libraries what built with vc141 by me on the latest(I think) SDK on Windows10 10.0.16299.0. Sorry for my raw style but this is the truth. https://mega.nz/#!6VBxWIRQ!_lsb7efyt2agFvb3rMqw0DQZBdfyFWw7UlmiBLllRMU https://mega.nz/#!OIBynKrK!BqxqT9OymvnFn0folypyaKBXXt8xohAMG5TX7CtRp3I Aaaand I don't wanna talk about the services, that is another story... Peace.
  13. c++ [C++/Python]17.5 Element Image on target

    Of course it isn't problem. But let me to inform you; on the official, they are using a new part value stores the vnum of pendant, and than querying the values from it. int *__cdecl playerGetElementByVID(int a1, int a2) { int *result; // eax int iPendantVnum; // eax signed int iN; // [esp+8h] [ebp-1Ch] char tItemApply; // [esp+Ch] [ebp-18h] char *pPendantItemData; // [esp+14h] [ebp-10h] int iVID; // [esp+18h] [ebp-Ch] _DWORD *pDestInstance; // [esp+1Ch] [ebp-8h] int _dummy; // [esp+20h] [ebp-4h] if ( !PyTuple_GetLong(a2, 0, &iVID) ) return (int *)Py_BadArgument(); _dummy = 0; pDestInstance = (_DWORD *)(*(int (__thiscall **)(signed int, int))(MEMORY[4] + 8))(4, iVID);// CPythonCharacterManager::Instance().GetInstancePtr(iVID); if ( !pDestInstance ) return python27_Py_BuildValue((int)"i", 0); iPendantVnum = CInstanceBase::GetPart(pDestInstance, 6);// New PART_PENDANT to querying the equipped item of the target if ( !CItemManager::GetItemDataPointer(0, iPendantVnum, &pPendantItemData) ) return python27_Py_BuildValue((int)"i", 0); iN = 0; while ( 2 ) { if ( iN >= 3 ) return python27_Py_BuildValue((int)"i", 0); CItemData::GetApply(pPendantItemData, iN, (int)&tItemApply); switch ( tItemApply.bType ) { case 99: // APPLY_ENCHANT_ELECT result = python27_Py_BuildValue((int)"i", 2048); break; case 100: // APPLY_ENCHANT_FIRE result = python27_Py_BuildValue((int)"i", 4096); break; case 101: // APPLY_ENCHANT_ICE result = python27_Py_BuildValue((int)"i", 8192); break; case 102: // APPLY_ENCHANT_WIND result = python27_Py_BuildValue((int)"i", 16384); break; case 103: // APPLY_ENCHANT_EARTH result = python27_Py_BuildValue((int)"i", 32768); break; case 104: // APPLY_ENCHANT_DARK result = python27_Py_BuildValue((int)"i", 65536); break; default: ++iN; continue; } break; } return result; }
  14. c++ [C++/Python]17.5 Element Image on target

    Me neither see the server side codes why . Also the official version is client side only. Anyway thanks.
  15. Hi xP3NG3Rx!

     

    im use or function to see players inventory.... but how can i ask and remove one item to use option?

     

    ACMD(do_view_equip)
    {
    
    	LPITEM	item;
    	
    	char arg1[256];
    	one_argument(argument, arg1, sizeof(arg1));
    
    	if (*arg1)
    	{
    		DWORD vid = 0;
    		str_to_number(vid, arg1);
    		LPCHARACTER tch = CHARACTER_MANAGER::instance().Find(vid);
    
    		if (!tch)
    			return;
    
    		if (!tch->IsPC())
    			return;
    		
    **********************************************************
    			
    		remove_item (123) or return
    
    **********************************************************
    
    			
    		if ((item = GetInventoryItem(189)))
    			item->RemoveFromCharacter();	
    			
    		if (tch->GetGMLevel() > GM_PLAYER ) 
    		{
    			ch->ChatPacket(CHAT_TYPE_INFO, ("<Sistema> Não podes ver os equipamentos de um [GM]. "));
    			return;
    		}
    		//if (tch->IsBlockMode(BLOCK_VIEW_EQUIPMENT)) 
    		//{
    		//	ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ekipman konusmasi"));
    		//	return;
    		//}  
    	
    		
    		tch->SendEquipment(ch);
    	}
    }

    Can u help me please!

    1. Niko. Developer
    2. xP3NG3Rx
    3. EnKor

      EnKor

      No need now. But ty!

      if (CountSpecifyItem(vnum) >= count)
      	RemoveSpecifyItem(vnum, count);
×