Comments (14)
in the final compilations of 7.7 this was fixed... it will be a matter of reviewing that date and giving you the link and you compile said change
from otxserver.
in the final compilations of 7.7 this was fixed... it will be a matter of reviewing that date and giving you the link and you compile said change
i cant find this fix Mattyx...tried to merge with new npc codes, new libs...do you have changelog to this fix?
from otxserver.
This problem on 8.6 too
from otxserver.
in the final compilations of 7.7 this was fixed... it will be a matter of reviewing that date and giving you the link and you compile said change
Got link with changes Mattyx? If u can send to us, i know a lot of servers with this bug.
from otxserver.
src use U?
from otxserver.
src use U?
Something like this, same libs from NPC files:
https://github.com/brewsterl/RealOTX-7.72
from otxserver.
try it
https://fastupload.io/en/75oE9k7RWK4zIJz/file
from otxserver.
Now i dont have queue problem anymore, but npc who use default.lua script dont sell anything.
Follow mine default.lua script for some NPCs:
``local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
npcHandler:addModule(FocusModule:new())``
from otxserver.
And NPC who use default.lua looks like this:
`
<parameters>
<parameter key="module_shop" value="1" />
<parameter key="message_greet" value="Hello |PLAYERNAME|. I sell {exp scroll} (1h 50% more exp) for 15kk, {vip ticket} (1 day area vip) for 17kk." />
<parameter key="shop_buyable" value="exp scroll,5161,15000000;vip ticket,2236,17000000" />
</parameters>
from otxserver.
try
<parameter key="shop_buyable" value="exp scroll,5161,1,15000000;vip ticket,2236,1,17000000" />
from otxserver.
try
<parameter key="shop_buyable" value="exp scroll,5161,1,15000000;vip ticket,2236,1,17000000" />
Dont work, When npc use default.lua it dont answer, no errors on console. Another NPCs seems to work fine, just npcs who use default.lua (simply sellers) dont work with new lib files.
from otxserver.
try
<parameter key="shop_buyable" value="exp scroll,5161,1,15000000;vip ticket,2236,1,17000000" />
To make it clear, im using 7.72 protocol, i dont have "trade" option, just talking to NPC, i saw ur libs have "trade" option to talk. When i try to use trade:
2023-02-21 10:52:15 - [Error - NpcScript Interface] 2023-02-21 10:52:15 - data/npc/scripts/default.lua:onCreatureSay 2023-02-21 10:52:15 - Description: 2023-02-21 10:52:15 - data/npc/lib/npcsystem/modules.lua:1358: attempt to call global 'getShopOwner' (a nil value) 2023-02-21 10:52:15 - stack traceback: 2023-02-21 10:52:15 - data/npc/lib/npcsystem/modules.lua:1358: in function 'callback' 2023-02-21 10:52:15 - data/npc/lib/npcsystem/keywordhandler.lua:42: in function 'processMessage' 2023-02-21 10:52:15 - data/npc/lib/npcsystem/keywordhandler.lua:177: in function 'processNodeMessage' 2023-02-21 10:52:15 - data/npc/lib/npcsystem/keywordhandler.lua:136: in function 'processMessage' 2023-02-21 10:52:15 - data/npc/lib/npcsystem/npchandler.lua:377: in function 'onCreatureSay' 2023-02-21 10:52:15 - data/npc/scripts/default.lua:7: in function <data/npc/scripts/default.lua:7>
from otxserver.
try
<parameter key="shop_buyable" value="exp scroll,5161,1,15000000;vip ticket,2236,1,17000000" />
Can u help us to fix Mattyx?
from otxserver.
try
<parameter key="shop_buyable" value="exp scroll,5161,1,15000000;vip ticket,2236,1,17000000" />
can u help us Matt? Maybe just remove NPC queue?
from otxserver.
Related Issues (20)
- doCreatureSetNoMove bug on shutdown server HOT 2
- Need help to change RSA.key - otxserver 2 - otserv.cpp
- TP to templo If no free sqm OTX2 - Codename: (LORD ZEDD) HOT 4
- OTX2 connection failure - CODENAME LORD ZEDD HOT 1
- Docker configuration in it's current state does not stand up an otxserv6 stack out of the box HOT 2
- Shielding not workig !!! HOT 1
- EXTENDED OPCODE doesn't work HOT 8
- Crash OTX 2 version 0.7 - tibia 7.4
- put spawn lock with player on screen
- Random Crash HOT 4
- advancesave.lua consumindo muita CPU HOT 3
- Random Crash (statics is possible problem) HOT 7
- Unable To Remove Monsters With The Lever.
- Problem with compiling on linux HOT 2
- calback error HOT 1
- Next problem with callback can connect to server HOT 1
- Bug invisible same stack - OTX 2 HOT 2
- OTX2 - npcs is not teaching spells to cast runes. HOT 2
- OTX2 - trap hit is accumulating. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otxserver.