Jump to content

Syriza

Banned
  • Posts

    259
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Syriza

  1. vor 4 Minuten schrieb Galet:

    Hello,

    Do you mean something like that? But instead of % you want seconds?

    https://en-wiki.metin2.gameforge.com/index.php/Stone_of_Cooldown

    Hey Galet, no i'm talking about a official bonus.

    I'm currently working on these new bonuses from the official Servers im trying to reduce a cooldown depending on the value in equipment.

    Example: Player changing attribute of item, and he got: POINT_SKILL_BIPABU_NEXT_COOLTIME_DECREASE_10PER == 3 in his Item, then the Skill's cooldown should reduce by 3 Seconds.

     

    Edit: sorry i misunderstood @Galet thats exactly what i want.. but only with a certain skill depending on bonus. This POINT_SKILL_BIPABU_NEXT_COOLTIME_DECREASE_10PER  is only for one certain skill in this case (91)

    • Love 1
  2. Now i find the correct function.. 

     

    But can someone tell me what's wrong with this:

    DWORD CPythonSkill::SSkillData::GetSkillCoolTime(float fSkillPoint)
    {
    	if (strCoolTimeFormula.empty())
    		return 0;
    
    	CPoly poly;
    	poly.SetStr(strCoolTimeFormula.c_str());
    	
    	TPacketGCPointChange PointChange;
    
    	if (PointChange.Type == POINT_SKILL_BIPABU_NEXT_COOLTIME_DECREASE_10PER)
    	{
    		return DWORD(ProcessFormula(&poly, fSkillPoint) - 3); //NotemeCoolDown
    	}
    	else
    	{
    		return DWORD(ProcessFormula(&poly, fSkillPoint)); //NotemeCoolDown
    	}
    }

     

    It doesnt work.. it tell me: The Variable 'PointChange' is being used without being initialized. But what does it mean? :( 

  3. Hey guys..

     

    I want to reduce the cool down from a skill depending on how much the player has a certain bonus. for example: The value of the bonus in player's equipment is 7 total, then the skill's cool down should reduce to 7 seconds. can somebody help me please? i already took a look at pythonskill.cpp but i don't find anything :(

     

     

    Server Source Side i've already done it, but i need to do same in binary.. otherwise i cant use the skill. 

  4. vor 3 Stunden schrieb Anix:

    You just took the system from turkmmo and waiting for somebody (vegas or others) to test it and finish the system, probably to re-write it.

    Shame.

     

    You're not stupid just not smart enough.

    vor 3 Stunden schrieb GLLLI:

    I found an error,When the required items are insufficient, the Dragon Soulstone will become 2. When you log back in, it will disappear.

     

    This is just a visual bug, i noticed it too, but i couldnt fix it. The second item is just a graphic bug.

  5. vor 3 Stunden schrieb Nevisor:

    Hey, nice release. Glad you share it with us ?

    Here's small improvement for bool CItem::IsMythDragonSoul()

    
    bool CItem::IsMythDragonSoul()
    {
    	return ((GetVnum() > 115000 && GetVnum() <= 115099)
    		|| (GetVnum() > 115100 && GetVnum() <= 115199)
    		|| (GetVnum() > 115200 && GetVnum() <= 115299)
    		|| (GetVnum() > 115300 && GetVnum() <= 115399)
    		|| (GetVnum() > 115400 && GetVnum() <= 115499)
    		|| (GetVnum() > 125000 && GetVnum() <= 125099)
    		|| (GetVnum() > 125100 && GetVnum() <= 125199)
    		|| (GetVnum() > 125200 && GetVnum() <= 125299)
    		|| (GetVnum() > 125300 && GetVnum() <= 125399)
    		|| (GetVnum() > 125400 && GetVnum() <= 125499)
    		|| (GetVnum() > 135000 && GetVnum() <= 135099)
    		|| (GetVnum() > 135100 && GetVnum() <= 135199)
    		|| (GetVnum() > 135200 && GetVnum() <= 135299)
    		|| (GetVnum() > 135300 && GetVnum() <= 135399)
    		|| (GetVnum() > 135400 && GetVnum() <= 135499)
    		|| (GetVnum() > 145000 && GetVnum() <= 145099)
    		|| (GetVnum() > 145100 && GetVnum() <= 145199)
    		|| (GetVnum() > 145200 && GetVnum() <= 145299)
    		|| (GetVnum() > 145300 && GetVnum() <= 145399)
    		|| (GetVnum() > 145400 && GetVnum() <= 145499)
    		|| (GetVnum() > 155000 && GetVnum() <= 155099)
    		|| (GetVnum() > 155100 && GetVnum() <= 155199)
    		|| (GetVnum() > 155200 && GetVnum() <= 155299)
    		|| (GetVnum() > 155300 && GetVnum() <= 155399)
    		|| (GetVnum() > 155400 && GetVnum() <= 155499)
    		|| (GetVnum() > 165000 && GetVnum() <= 165099)
    		|| (GetVnum() > 165100 && GetVnum() <= 165199)
    		|| (GetVnum() > 165200 && GetVnum() <= 165299)
    		|| (GetVnum() > 165300 && GetVnum() <= 165399)
    		|| (GetVnum() > 165400 && GetVnum() <= 165499)
    	);
    }

    replace with this

    
    bool CItem::IsMythDragonSoul()
    {
    	bool bMyth = ((GetVnum() / 1000) % 10) == 5 ? true : false;
    	return bMyth;
    }

     

    Thank you For improving buddy

    vor 48 Minuten schrieb GLLLI:

    There is a problem that the number of stones needed is not displayed in the interface.

    System is tested again on clean files, it works. If you have any problems write me Discord 

     

     

     

    btw @VegaS™ we are waiting for your improvement ❤️

  6. M2 Download Center

    This is the hidden content, please
    ( Internal )

    Since i always get help from vegas and others, i wanted to give back something, maybe it helps someone. :)

     

    Here i have a system which is shared by a friend of another board, i made it like official and fixed the bugs.

     

     

    Download: 

    This is the hidden content, please

    Virustotal: 
    This is the hidden content, please

     

    • Metin2 Dev 70
    • Eyes 1
    • Angry 1
    • Smile Tear 1
    • Lmao 1
    • Good 21
    • Love 3
    • Love 37
  7. @VegaS™

     

    Sorry i forget to write.. :)

     

    Solution is working, its even better then official. In official i have a small delay (lagg) when skipping, but with vegas's solution

    everything is working fine.

     

    Except this  (if i add this, the intrologo doesnt even show anymore!)

    			if (bSkipAllowed)
    			{
    				bool is_pressed = false;
    				for (BYTE i = 0; i < 256; ++i)
    				{
    					if ((GetAsyncKeyState(i) & 0x8000) != 0)
    					{
    						is_pressed = true;
    						break;
    					}
    				}
    				if (is_pressed)
    					break;
    			}

    but i dont think this is needed since without you can skip too with mouse clicks, escape and more. 

     

    As i said, you dont need this, the first part is enough.

  8. vor einer Stunde schrieb WeedHex:

    Char_item.cpp

    Find for:    item->AddToGround (GetMapIndex(), GetXYZ());

    Before add:

    
            if (GetGMLevel() > GM_PLAYER)
            {
                ChatPacket(CHAT_TYPE_INFO, "Trying to fuck from ground.");
                return;
            }

     

    XD Thanks

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.