Jump to content

AlCapone

Inactive Member
  • Posts

    294
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by AlCapone

  1. Hi soo I have some problems in my server. One core of ch1 goes down but is up instantly. This causes loss of items to some players because disconect for example from 300 players disconect 60-70 players.

    The sysser server:

    DestroyItem: WTH! Invalid item owner. owner pointer : 0x3b8c6000
    SYSERR: Jun 12 08:27:47.436820 :: RemoveFromCharacter: Item::RemoveFromCharacter owner null
    SYSERR: Jun 12 08:27:47.436942 :: GetWear: CHARACTER::GetWear: invalid wear cell 173
    SYSERR: Jun 12 08:27:47.436963 :: Unequip: m_pOwner->GetWear() != this
    SYSERR: Jun 12 08:28:04.247144 :: pid_init: 
    Start of pid: 29979

    And the game.core full

    LvpKdab.png

     

  2. hace 6 horas, Shang dijo:

    Easy to understand, BYTE datatype is from 0 to 254, you can not make it negative so it gives you a positive number.

    if amount < 1 then

        return

    end

    Btw, too nerve to ask for support from a leak.

    Soo if I add bellow here: 

    if amount > 200 then syschat'El numero maximo es 200.' return end

    This:

    if amount > 200 then syschat'El numero maximo es 200.' return end
    if amount < 1 then syschat'No esta permitido hacer esto.' return end

    It will work fine? 

    P.D: Yeah is your itemshop I think :( if you fell bad send me your paypal and I will pay you for this help. I dont own the system but like all the thinks was on internet. Thanks

  3. Hi I have a problem a pj in mi server is giving him MD whit a bug. He tell me that make whit a negative form. For example in shop have potions soo you can put how much you whant until 200. He put - and give him MD. Here is the function I think is bad but Idk how to put to work good.

     

    				if tonumber(date_[1]) != 0 then -- got an end date
    					timeLeft = itemshop_v2.currentTimeDiff(date_)
    					if itemshopItem[1].percent > 0 and timeLeft <= 0 then -- has percent and if the timeleft is <= 0 then set percent = 0
    						itemshopItem[1].percent = 0
    					end
    				end
    				
    				local amount = tonumber(cmd[3])
    				if not pc.enough_inventory(itemshopItem[1].vnum) then syschat'No tienes suficiente espacio para hacer una compra.' return end
    				if amount > 200 then syschat'El numero maximo es 200.' return end
    				local coins = itemshop.get_coins()
    				local realPrice = math.floor((itemshopItem[1].price*amount) - (((itemshopItem[1].price*amount) / 100 ) * itemshopItem[1].percent))
    				if coins < realPrice then syschat'No tienes suficiente MD' return end
    				local newCoins = coins-realPrice

     

  4. Hi soo I have a problem which I dont see it until today, i search in google but seems nobody have this error.

    the think is i go to OX map, open the doors, close and when I go to start a question the client froze and give me this error.

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gifhttps://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    In sysser no error and Errolog nothing too. What can be this?

    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.