Tudo que gbik postou
- [Ajuda Urgente] Internet compartilhada
-
[help] Erro ao Compilar Otx
1>..\scriptmanager.cpp(147): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char>, 1> _Ax=std::allocator<char> 1> ] 1>..\luascript.cpp(767): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char>, 1> _Ax=std::allocator<char> 1> ] Bom, esses são os 2 erros que dão quando vou compilar a source do Otx, se alguem tiver ela compilada para 64bits me mande pf
- [8.60] OTXServer by Fir3z
- [Help] Shop System Nao para de chegar item
- [Help] Shop System Nao para de chegar item
- [erro] Potions ou creaturescript
-
[Help] Shop System Nao para de chegar item
Meu shop system nao para de chegar items... oque será isso? Meu shop.lua local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do local id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", "This item can only be used by the player ".. getPlayerName(cid) .."!") doItemSetAttribute(new_item, "aid", getPlayerGUID(cid)+10000) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Voce recebeu >> '.. add_item_name ..' << do Huck Shop.Obrigado pela compra, volte sempre!') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return true end e na tag globalevents.xml <globalevent name="shop" interval="30000" script="shop.lua"/> OBS: Meu tfs é 0.4 rev 3777...
- [erro] Potions ou creaturescript
-
Bugs/Erros no TK? Poste aqui!
Não sei se estou revivendo o tópico ou algo do tipo mas foi a unica area que achei pra postar bugs ou erros, se sim peço desculpas. Bug: Criar contas Como aconteceu: Como o normal, cliquei em cadastre-se preenchi o formulário tudo certinho, após isso botei em cadastrar , dai demorou um pouco a carregar e redirecionou pra uma pagina, segue a foto abaixo. Data: 03/06/2015 , hora : 04:29 Detalhes adicionais: OBS: Não sei se isso é só comigo, pois nao pedi pra nenhum amigo testar nem nada... Mas foi oque ocorreu aqui.
-
[erro] Potions ou creaturescript
Toda vez que alguem usa potion no meu server da esse erro... Se alguem pudesse me dizer oq fazer agradeceria [5:58:37.150] [Error - CreatureScript Interface] [5:58:37.151] local slotPos = {CONST_SLOT_NECKLACE, CONST_SLOT_FEET, CONST_SLOT_RING} [5:58:37.151] [5:58:37.151] function onStatsChange(cid, attacker, type, combat, value) [5:58:37.151] local reflectPercent = 0 [5:58:37.151] local dmg = value [5:58:37.151] local playerPos = getCreaturePosition(cid) [5:58:37.151] local attackerPos = getCreaturePosition(attacker) [5:58:37.151] for i = 1, #slotPos do [5:58:37.151] if getPlayerSlotItem(cid, slotPos).uid > 1 then [5:58:37.151] if getItemReflectPercent(getPlayerSlotItem(cid, slotPos).uid) then [5:58:37.151] reflectPercent = reflectPercent + getItemReflectPercent(getPlayerSlotItem(cid, slotPos).uid) [5:58:37.151] end [5:58:37.151] end [5:58:37.151] end [5:58:37.151] [5:58:37.151] if reflectPercent > 0 then [5:58:37.151] dmg = math.ceil(-value*((100-reflectPercent)/100)) [5:58:37.151] if (dmg < 0) then [5:58:37.151] doCreatureAddHealth(cid, dmg) [5:58:37.151] doSendAnimatedText(playerPos, -dmg, COLOR_RED) [5:58:37.151] doSendMagicEffect(playerPos, 0) [5:58:37.151] else [5:58:37.151] doSendMagicEffect(playerPos, 3) [5:58:37.151] end [5:58:37.151] dmg = math.ceil(-value*(reflectPercent/100)) [5:58:37.151] if (dmg < 0) then [5:58:37.151] doCreatureAddHealth(attacker, dmg) [5:58:37.152] doSendAnimatedText(attackerPos, -dmg, COLOR_RED) [5:58:37.152] doSendDistanceShoot(playerPos, attackerPos, CONST_ANI_SMALLHOLY) [5:58:37.152] end [5:58:37.152] else [5:58:37.152] return true [5:58:37.152] end [5:58:37.152] end:onStatsChange [5:58:37.152] Description: [5:58:37.152] (luaGetThingPosition) Thing not found
- (Resolvido)[pedido] compilar source
- (Resolvido)[pedido] compilar source
- (Resolvido)[pedido] compilar source
- [DUVIDA] Site Off
-
[Help] Shop System Gesior 0.3.8
Bom galera, estou com um probleminha, queria saber como faço para os items comprado no shop system chegarem no char!, ja fiz de tudo e nada. meu gesior é 0.3.8 TFS 0.4 Source 3777. Queria saber do 0 como faço pra adicionar isso, minha query ja esta com z_ot_comunication e shop system tudo certinho, porém o item não chega! ReP+ Ae pra qm me ajudar
-
[Duvida] Gesior Acc Manager
Então, queria saber se há possibilidades em windowns 7 de deixar o account manager e o site para criar contas.. pois vi um post que dizia que isso só era possivel em linux... então quero tirar essa dúvida, caso alguem saiba fala ae, e fala como faço pra bloquear o acc manager no site para nao trocar senhas e tals REP+
-
[Problema] Ip do Site
Galera, consegui abrir meu site so que a parada é o seguinte.. Quando pessoas entram por exemplo nele com esse ip aqui otserver.no-ip.biz dps que carrega aparece o meu ip Númerico e as portas Como faz pra remover isso? Queria que quando carregasse ficasse pelo menos assim otserver.no-ip.biz:8090 e nao 187.192.185.203:8090 @ up
-
[Ajuda] Website Offline
Galera, não consigo deixar meu site online... estou usando o xampp ja liberei as porta 80 e 443 no roteador. meu provedor é netvirtua. se alguem me explica o que eu possa fazer ai, agradeceria
- [DUVIDA] Site Off
-
[Pedido Talkaction] BOSS EVENT COM MENSAGENS
Desculpe, mas tive motivo sim, pq se fosse voce querendo ajudar sem ganhar nada em troca voce iria gostar? então pronto cara, toma cuidado tbm com oq vc fala... e se eu abri essa página é por que eu também estava precisando do script..
- Criando site para seu OT Server com Vertrigo
- Criando site para seu OT Server com Vertrigo
- [DUVIDA] Site Off
- [DUVIDA] Site Off
-
[DUVIDA] Site Off
Boa noite... Queria saber o motivo do meu website está offline, ja liberei todas as portas 8080 8090 443 3306 80 Só eu consigo acessar o meu site... OBS: 1* No xampp, ao inves de um "V" verde tá um "X" Vermelho 2* quando eu entro em localhost, la em cima aparece como ip 127.0.0.1 é isso mesmo? ou tenho que botar meu ip?