• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[LUA?] NPC bug [2+ players at the same time]

LucasFerraz

Systems Analyst
Joined
Jun 10, 2010
Messages
2,858
Reaction score
96
Location
Brazil
My problem is:

If 2 players talk to a NPC at the same time it do not work properly. Example:

1. Player A says: Darashia
2. Player B says: Venore
3. Player A says: yes (and get teleported to venore)

XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Albery" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100"/>
	<look type="130" head="20" body="114" legs="114" feet="20" addons="3"/>
  
  <parameters>
        <parameter key="message_greet" value="Hello, |PLAYERNAME|. Do you want to {travel}? I can bring you to {Ethno}."/>
        <parameter key="message_farewell" value="Good bye. Recommend us if you were satisfied with our service."/>

	<parameter key="module_travel" value="1"/>
	<parameter key="travel_destinations" value="ab'dendriel,32734,31668,6,0;ankrahmun,33092,32883,6,0;carlin,32387,31820,6,0;cormaya,33287,31955,6,0;darashia,33289,32480,6,0;edron,33173,31764,6,0;ethno,32049,31974,6,0;farmine,33025,31553,10,0;kazordoon,32659,31958,15,0;liberty bay,32285,32891,6,0;port hope,32529,32784,6,0;svargrond,32431,31162,6,0;thais,32310,32210,6,0;venore,32952,32022,6,0;yalahar,614,679,5,0;"/>
    </parameters>
</npc>
 
Last edited:
Back
Top