GA

PokeAimar (Level System) 8.54 2020 (Com Sources)

By GamerGoiano, 01 de ago. de 2020 in OTServer Alternativo (ATS)

215
77.6k
dso15D
16 de fevereiro de 2022 às 16:10
10 horas atrás, Reyzer1000 disse:

Alguém pode me dizer como compilar essa base no linux ubuntu 20.04? Já segui muitos tutoriais mas não consigo compilar sem erros.

Eu consigo compilar no 18 mas eu cobro

Reyzer1000R
17 de fevereiro de 2022 às 02:20

Quanto você cobra bro?

dso15D
17 de fevereiro de 2022 às 14:16
11 horas atrás, Reyzer1000 disse:

Quanto você cobra bro?

Para não spawmar o post me chama lá

 

Discord Daniel_Soares#3165

 

Whatsapp 65998157796

 

DecliveeD
20 de fevereiro de 2022 às 11:56

Alguém com um client que consiga compilar em windows?
Com a source que vem eu tentei aqui mas o executável não abre.

Alguém consegue ajudar?

dso15D
20 de fevereiro de 2022 às 17:15
5 horas atrás, Declivee disse:

Alguém com um client que consiga compilar em windows?
Com a source que vem eu tentei aqui mas o executável não abre.

Alguém consegue ajudar?

Eu tenho

3 months later...
ZombiTRZ
14 de maio de 2022 às 06:03

function onEquip(cid, item)
    if (isItem(item)) then
        setPlayerIcons(cid, item, true)
        return true
    end
    return false
end

function onDeEquip(cid, item)
    setPlayerIcons(cid, item, false)
    return true
end



Data/Lib/Ps/Movements/ball.lua

Someone can be fixed ?


pk3drb1.jpg

5 months later...
PentaP
01 de outubro de 2022 às 16:04

Mt bom!

 

Edited Outubro 2 by Penta

1 month later...
GufiplG
22 de novembro de 2022 às 17:01
Em 17/02/2022 em 18:16, dso15 disse:

Para não spawmar o post me chama lá

 

Discord Daniel_Soares#3165

 

Whatsapp 65998157796

 

Dá-me Discord porque não funciona

6 months later...
ZombiTRZ
25 de maio de 2023 às 13:46

image.thumb.png.1b5853495e336f1b66e7d6afe595d880.png

How to insert here any items ? Example 11691 item i put for this ''Neck'' places.

  [InventorySlotHead] = "HeadSlot",
  [InventorySlotNeck] = "NeckSlot",
  [InventorySlotBack] = "BackSlot",
  [InventorySlotBody] = "BodySlot",
  [InventorySlotRight] = "RightSlot",
  [InventorySlotLeft] = "LeftSlot",
  [InventorySlotLeg] = "LegSlot",
  [InventorySlotFeet] = "FeetSlot",
  [InventorySlotFinger] = "FingerSlot",
  [InventorySlotAmmo] = "AmmoSlot"

image.png.12427337719620fbc20275cced5e2a9a.png

ZombiTRZ
31 de maio de 2023 às 16:00

image.thumb.png.29f04e6dc2b7ded76599afc724b487e1.png

I want to create a Starter Box. (Box ID = 3000) 
I used this boxes and box give me a Starter for Pidgey level 5.
Some Items for this inventory pages places (PLAYER_SLOT_EVOLVE) for Fishing Rods (Item ID = 2377.)
And teleporting to Place {x = 3295, y = 564, z = 7}

How can i do ? 

I try but not working.

 

local BOXES = {
	[3000] = {level = 5, pokemons = {"Pidgey"}}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	local randomBoxPokemon = BOXES[item.itemid].pokemons[math.random(1, #BOXES[item.itemid].pokemons)]
	doSendMagicEffect(getCreaturePosition(cid), EFFECT_FIREWORK_YELLOW)
	doPlayerAddItem(cid, PLAYER_SLOT_EVOLVE, 2377, 1, true) -- Fishing Rods
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, string.format(__L(cid, "Congratulations! Your %s result in %s."), getItemNameById(item.itemid), getMonsterInfo(randomBoxPokemon).description))
	doCreatePokemonBall(cid, "poke", randomBoxPokemon, BOXES[item.itemid].level, nil, nil,
        math.floor(BOXES[item.itemid].level / 2), cid, true)
	doTeleportThing(cid, {x = 3295, y = 564, z = 7}, false)
	return true
end


Please help me. :)

TungsT
01 de junho de 2023 às 11:37
19 horas atrás, ZombiTR disse:

image.thumb.png.29f04e6dc2b7ded76599afc724b487e1.png

I want to create a Starter Box. (Box ID = 3000) 
I used this boxes and box give me a Starter for Pidgey level 5.
Some Items for this inventory pages places (PLAYER_SLOT_EVOLVE) for Fishing Rods (Item ID = 2377.)
And teleporting to Place {x = 3295, y = 564, z = 7}

How can i do ? 

I try but not working.

 

local BOXES = {
	[3000] = {level = 5, pokemons = {"Pidgey"}}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	local randomBoxPokemon = BOXES[item.itemid].pokemons[math.random(1, #BOXES[item.itemid].pokemons)]
	doSendMagicEffect(getCreaturePosition(cid), EFFECT_FIREWORK_YELLOW)
	doPlayerAddItem(cid, PLAYER_SLOT_EVOLVE, 2377, 1, true) -- Fishing Rods
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, string.format(__L(cid, "Congratulations! Your %s result in %s."), getItemNameById(item.itemid), getMonsterInfo(randomBoxPokemon).description))
	doCreatePokemonBall(cid, "poke", randomBoxPokemon, BOXES[item.itemid].level, nil, nil,
        math.floor(BOXES[item.itemid].level / 2), cid, true)
	doTeleportThing(cid, {x = 3295, y = 564, z = 7}, false)
	return true
end


Please help me. :)

 

add a function to remove the item before "doPlayerAddItem(cid, PLAYER_SLOT_EVOLVE, 2377, 1 true)"

ZombiTRZ
01 de junho de 2023 às 12:36

image.png.3ce8d3481ee1f166b92a8fd1def85837.png

@Tungs, i trying but, not working.

image.thumb.png.0b72e6cfde026177775aebf12a76cd82.png

Edited Junho 1 by ZombiTR

TungsT
01 de junho de 2023 às 15:20
2 horas atrás, ZombiTR disse:

image.png.3ce8d3481ee1f166b92a8fd1def85837.png

@Tungs, i trying but, not working.

image.thumb.png.0b72e6cfde026177775aebf12a76cd82.png

show me what you do, your code is wrong... Send-me 

Edited Junho 1 by Tungs

ZombiTRZ
01 de junho de 2023 às 15:40

zombistarter.lua

This lua.

TungsT
01 de junho de 2023 às 16:40
58 minutos atrás, ZombiTR disse:

zombistarter.lua

This lua.

 

local BOXES = {
	[3000] = {level = 5, pokemons = {"Pidgey"}}
}

local slot = {
	getPlayerSlotItem(cid, PLAYER_SLOT_EVOLVE),
} 

function onUse(cid, item, fromPosition, itemEx, toPosition)
	local randomBoxPokemon = BOXES[item.itemid].pokemons[math.random(1, #BOXES[item.itemid].pokemons)]
	doSendMagicEffect(getCreaturePosition(cid), EFFECT_FIREWORK_YELLOW)
	doPlayerRemoveItem(cid, slot, 1)
	doPlayerAddItem(cid, PLAYER_SLOT_EVOLVE, 2377, true)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, string.format(__L(cid, "Congratulations! Your %s result in %s."), getItemNameById(item.itemid), getMonsterInfo(randomBoxPokemon).description))
	doCreatePokemonBall(cid, "poke", randomBoxPokemon, BOXES[item.itemid].level, nil, nil,
        math.floor(BOXES[item.itemid].level / 2), cid, true)
	doTeleportThing(cid, {x = 3295, y = 564, z = 7}, false)
	return true
end

 

Agora, Tungs disse:

 

local BOXES = {
	[3000] = {level = 5, pokemons = {"Pidgey"}}
}

local slot = {
	getPlayerSlotItem(cid, PLAYER_SLOT_EVOLVE),
} 

function onUse(cid, item, fromPosition, itemEx, toPosition)
	local randomBoxPokemon = BOXES[item.itemid].pokemons[math.random(1, #BOXES[item.itemid].pokemons)]
	doSendMagicEffect(getCreaturePosition(cid), EFFECT_FIREWORK_YELLOW)
	doPlayerRemoveItem(cid, slot, 1)
	doPlayerAddItem(cid, PLAYER_SLOT_EVOLVE, 2377, true)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, string.format(__L(cid, "Congratulations! Your %s result in %s."), getItemNameById(item.itemid), getMonsterInfo(randomBoxPokemon).description))
	doCreatePokemonBall(cid, "poke", randomBoxPokemon, BOXES[item.itemid].level, nil, nil,
        math.floor(BOXES[item.itemid].level / 2), cid, true)
	doTeleportThing(cid, {x = 3295, y = 564, z = 7}, false)
	return true
end

 

 

try this