• 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!

Recent content by Kubuxxx

  1. K

    Peroxide's Real-Map Project

    Pero, have you yet an idea what will you make in poh and venore area ? :D Swamps in veno ?
  2. K

    Lua Extracting numbers from string

    s="11,21,02,44,01,12" local t = {} local j=0 local k=0 local n for i=0,5 do local p=1 if i ~= 1 then p=3*i end j,k = string.find(s, "%d%d", 3*i+1) if j==nil then break end n=string.sub(s, j, k) table.insert(t, n) end Is there better way to...
  3. K

    Lua TFS 1.0 strange onEquip problem

    Thanks
  4. K

    Lua TFS 1.0 strange onEquip problem

    Hey i have this simple script in movements: <movevent event="Equip" itemid="21691" slot="necklace" script="critical.lua" function="onEquipItem"/> <movevent event="DeEquip" itemid="21691" slot="necklace" script="critical.lua" function="onDeEquipItem"/> And the script: function...
  5. K

    MoveEvent TFS 1.0 Advanced Item/Set Item Management

    Not better to make it working on action or unique id ?
  6. K

    Windows TFS - how many ram to real map?

    WibbenZ could you show any script that is poorly written ? for example only
  7. K

    [cpp][tfs 1.0]setItemName

    Do somebody have code of this function to change item name in game and could share? I know tfs1.0 doesnt have this included but maybe someone has written yet?
  8. K

    Solved [C++][TFS 1.0] addAnimatedText

    Ok thank you, it's a lit tle pity
  9. K

    Solved [C++][TFS 1.0] addAnimatedText

    Is something like g_game.addAnimatedText(getPosition(), TEXTCOLOR_RED, "Critical!"); function in tfs 1.0 ? This one is from 0.36. // Is there something to give a text for a short time on a monster or player?
  10. K

    Solved get Party Members and GlobalStorage tfs 1.0

    function Party:onDisband() local a=#self:getMembers() broadcastMessage(a, 20) return true end were two ppl in party, broadcasted "1" when i used local a=self:getMemberCount() it broadcasted "0" Have some idea ? Found solution :D
  11. K

    Solved get Party Members and GlobalStorage tfs 1.0

    All players who were in party in moment when it was disbanding must have storage 52000 set to value 2.
  12. K

    Solved get Party Members and GlobalStorage tfs 1.0

    function Party:onLeave(player) cId=getPlayerByName(player:getName()) if getPlayerParty(cId) then --[[ if party is not disbanded do nothin ]]- else --[[ ppl who were in party when it was disbanding should get these item ]]-- doPlayerAddItem(getPartyMembers(cId)[1], 2190,1)...
  13. K

    Solved get Party Members and GlobalStorage tfs 1.0

    cant use these functions here function Party:onDisband() return true end
  14. K

    Solved get Party Members and GlobalStorage tfs 1.0

    How to get a party members in moment when the party is disbanding ? I mean when the party leader leaves the party and then the party is disbanding. In /events/party.lua there's a Party: onDisband() function but it doesn't have any argument like onLeave(player) or onJoin(player) have so i don't...
Back
Top