Jump to content

Saddler

Inactive Member
  • Posts

    111
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Saddler

  1. You need a little knowledge about c++ for do that.

     

    I already do that, but on my opinion Ymir do a crap work on Source. Maybe much workers on the same code.

    It's really annoying for you do that..

     

    You will have like so many things with counts, it's a crazy thing to do.

    shop, move_item, buy_item, sell_item, split_item, etc etc etc...

    Everything is separated.

     

    Search for count with BYTE and put that on int..

     

    Good luck.

  2. Replace the function from char.cpp void CHARACTER::MountVnum(DWORD vnum)

    with this:

    void CHARACTER::MountVnum(DWORD vnum)
    {
    if (m_dwMountVnum == vnum)
    return;
     
    m_dwMountVnum = vnum;
    m_dwMountTime = get_dword_time();
     
    if (m_bIsObserver)
    return;
     
    m_posDest.x = m_posStart.x = GetX();
    m_posDest.y = m_posStart.y = GetY();
    EncodeRemovePacket(this);
    EncodeInsertPacket(this);
     
    ENTITY_MAP::iterator it = m_map_view.begin();
     
    while (it != m_map_view.end())
    {
    LPENTITY entity = (it++)->first;
     
    EncodeRemovePacket(entity);
    if (!m_bIsObserver)
    EncodeInsertPacket(entity);
     
    if (entity->IsType(ENTITY_CHARACTER))
    {
    LPCHARACTER lpChar = (LPCHARACTER)entity;
    if (lpChar->IsPC() || lpChar->IsNPC() || lpChar->IsMonster())
    {
    if (!entity->IsObserverMode())
    entity->EncodeInsertPacket(this);
    }
    }
    else
    {
    if (!entity->IsObserverMode())
    {
    entity->EncodeInsertPacket(this);
    }
    }
    }
     
    SetValidComboInterval(0);
    SetComboSequence(0);
     
    ComputePoints();
    }
  3. quest negative_exp begin
        state start begin
            when login with pc.get_exp() < 0 begin
                pc.give_exp2(math.abs(pc.get_exp()))
            end
        end
    end

     

    Jfirewall this not solve the problem.

    And it's 100% lazy way and bugged to solve the problems.

     

     

    Try this.

     

     

     

    There is a fix from ymir for that

    def unsigned32(n):

    return n & 0xFFFFFFFFL

     
    in uicharacter.py
     
    and change 
    self.GetChild("Exp_Value").SetText(str(player.GetEXP()))

    self.GetChild("RestExp_Value").SetText(str(player.GetStatus(player.NEXT_EXP) - player.GetStatus(player.EXP)))

     

    to

    self.GetChild("Exp_Value").SetText(str(unsigned32(player.GetEXP())))

    self.GetChild("RestExp_Value").SetText(str(unsigned32(player.GetStatus(player.NEXT_EXP)) - unsigned32(player.GetStatus(player.EXP))))

     

     

  4. Sorry for double post, but, can the error could this be?

     

    Packet.h SERVER SIDE:

    typedef struct packet_points
    {
    	BYTE	header;
    	INT		points[POINT_MAX_NUM]; //INT
    } TPacketGCPoints;

    Packet.h CLIENT SIDE:

    typedef struct packet_points
    {
        BYTE        header;
        long        points[POINT_MAX_NUM]; //LONG
    } TPacketGCPoints;

    if you look the points variable in server il declared int and client long, the error is this?

    Regards.

     

    [X] This is your problem

    [  ] This is not your problem :D

     

    But if you want change to long or long long you will need more changes.

  5. Try this query in your player database:

    DROP TABLE IF EXISTS `dragonsoul_items`;
    CREATE TABLE `dragonsoul_items` (
      `player_id` int(11) NOT NULL auto_increment,
      `slot` int(11) NOT NULL default '0',
      PRIMARY KEY  (`player_id`),
      KEY `slot_idx` (`slot`)
    ) ENGINE=MyISAM AUTO_INCREMENT=57734 DEFAULT CHARSET=latin1;
    

    regards.

     

    I think that is not used.

    I searched on source and i dont found anything.

     

  6. Ok I've done some updates..

     

     

    Corsair 400R

    SeaSonic X-650 Gold

    ASUS P8Z77-V LE Plus

    Intel i7-3770k

    Corsair h100i

    2x 8GB Crucial Very Low Profile 1600Mhz 9-9-9-24

    EVGA GTX 780ti 3GB DUAL ACX

    ASUS Xonar DG

    Samsung 840 Pro 256GB

    Kingston V300 120GB

    Western Digital Caviar Blue 1TB

    1x QNIX QX2710 27" PLS @ 105Hz

    1x ASUS PB238Q 23" IPS

    Logitech g500s (Hyperglides)

    Steelseries QcK Heavy

    Corsair K95

    Wacom Bamboo CTH-470

    Sennheiser PC360

    Beyerdynamic DT770 Pro (80 Ohm)

    YAMAHA RX-V463

    2x Boston Acoustics A250

    Dayton Audio SUB-1000

     

     

    UU0sN7S.jpg

    eO55HIk.jpg

     

     

     

    That dust men..

    You really need to clean your desktop xD

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