Jump to content

Hik

Member
  • Posts

    276
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Hik

  1. then... open "desc_client.cpp" and search:

     

    if (!bSentBoot)
    {
    bSentBoot = true;
    TPacketGDBoot p;
    p.dwItemIDRange[0] = 0;
    p.dwItemIDRange[1] = 0;
    memcpy(p.szIP, g_szPublicIP, 16);
    DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));
    }
    }
    
    TEMP_BUFFER buf;
    
    TPacketGDSetup p;
    
    memset(&p, 0, sizeof(p));
    strlcpy(p.szPublicIP, g_szPublicIP, sizeof(p.szPublicIP));

     

    and change like this:

     

    if (!bSentBoot)
    {
    bSentBoot = true;
    TPacketGDBoot p;
    p.dwItemIDRange[0] = 0;
    p.dwItemIDRange[1] = 0;
    memcpy(p.szIP, "HAMACHI IP(NO .100)", 16);
    DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));
    }
    }
    
    TEMP_BUFFER buf;
    
    TPacketGDSetup p;
    
    memset(&p, 0, sizeof(p));
    strlcpy(p.szPublicIP, "HAMACHI IP(NO .100)", sizeof(p.szPublicIP));

    ....recompile

     

    After a couple of minutes, channel 1 will crash, restart the whit this commnd:

     

    cd /root_game/channel1 && ./game

    I do not remember the procedure well, more than I can do :/

  2. 12 hours ago, Raylee said:

    Rules

    §1 Language

    (1.1) Language

    The language in this board is english. If you want to post something in your own language always add an english translation.


    Best regards
    Raylee

     

     

    Excuse me, I did not realize I did not include the translated text.

    ps: Hi WeedHex, the bug occurs for more than one mob. I'll load the queries from the first mobs.

     

    Vnum	Name	Rank	Type	BattleType	Level	Size	AiFlags	MountCapacity	RaceFlags	ImmuneFlags	Empire	Folder	OnClick	St	Dx	Ht	Iq	MinDamage	MaxDamage	MaxHp	RegenCycle	RegenPercent	MinGold	MaxGold	Exp	Def	AttackSpeed	MoveSpeed	AggressiveHpPct	AggressiveSight	AttackRange	DropItemGroup	ResurrectionVnum	EnchantCurse	EnchantSlow	EnchantPoison	EnchantStun	EnchantCritical	EnchantPenetrate	EnchantBleeding	ResistSword	ResistTwoHanded	ResistDagger	ResistBell	ResistFan	ResistBow	ResistFire	ResistElect	ResistMagic	ResistWind	ResistPoison	ResistClaw	ResistBleeding	DamMultiply	SummonVnum	DrainSp	MobColor	PolymorphItem	SkillLevel0	SkillVnum0	SkillLevel1	SkillVnum1	SkillLevel2	SkillVnum2	SkillLevel3	SkillVnum3	SkillLevel4	SkillVnum4	SpBerserk	SpStoneskin	SpGodspeed	SpDeathblow	SpRevive
    101	??	PAWN	MONSTER	MELEE	1			0	ANIMAL		0	stray_dog	0	3	6	5	2	20	24	126	6	7	21	28	15	4	100	100	0	2000	175	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	70104	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    102	??	PAWN	MONSTER	MELEE	3			0	ANIMAL		0	wolf	0	4	9	7	2	23	28	162	6	7	22	29	39	6	100	100	25	2000	175	30028	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	70104	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0

     

    • Love 1
  3. Hi guys, I have a little problem with drop yang.

    I set the values in "MinGold" and "MaxGold" but I continue to drop 1 yang.

    Can someone help me?

     

    EDIT 09/06/2018:

     

    //else if ((item = ITEM_MANAGER::instance().CreateItem (1, iGold / iSplitCount)))

    This is the part of the code that creates the yangs. It is inserted inside a for, allowing the fall of more yang.

    The problem is that the value of "iGold / iSplitCount" is greater than 1 and therefore also inserting ".CreateItem (1, 200)))" the result is identical.

×
×
  • 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.