Jump to content

PACI

Developer
  • Posts

    402
  • Joined

  • Days Won

    18
  • Feedback

    0%

Everything posted by PACI

  1. WoM's dragon lair quest for example was made by Nova (if I ain't wrong). His quest is different that the official one, so I guess they've made their own regens.
  2. Why don't you just set a flag? d.setf("mobs_left", 10) when kill begin local count = d.getf("mobs_left")-1 d.setf("mobs_left", count) d.notice(count.." mobs left") --if count <= 0 then -- do something --end end
  3. Fullmetal alchimist Brotherhood indeed was awesome. I've watched it 2 times Naruto is waaay to long for my taste, that's why i read the manga, which is almost finished I'm also watching Zankyou no Terror. Dude, you don't know how many times I've watched it just because I love that anime *-* I don't read any manga, just because I don't like to. But yeah the end is coming (
  4. Favourite: Fullmetal Alchemist Brotherhood. Last Watched: Blade and Soul, I thought it would be better. Currently: Naruto Shippuden, really cool.
  5. You can find the other flags in ItemData.lua file from my converter.
  6. quest lvl begin state start begin when login begin while pc.level < 250 do pc.give_exp2(pc.get_next_exp()) end end end end
  7. Actually, there's the *.party_kill event. when 101.party_kill begin -- do something end
  8. Nope, when I tried it didn't work.
  9. It doesn't load the library, you made something wrong.
  10. Yes, sorry I posted without finishing what I wanted to say. Check out my last post again.
  11. Items with quest should have ITEM_QUEST (18) as type. [Hidden Content] LD_PRELOAD (32 bits) or LD_32_PRELOAD (64 bits), depending on your OS. In your start shell script: LD_PRELOAD = "/path/to/ libgame_item2_pc2.so" Before: ./game
  12. Should be: for i, pid in ipairs/pairs(pids) do or for i, pid in next, pids do Otherwise it'll attempt to call a table value. But, he wants to remove that item so instead of return anything just use pc.remove_item(vnum).
  13. Wtf are you talking about? The official belt system doesn't even use quest.
  14. And I told you that to have that module you need to upgrade your client and files.
  15. No, it's not the same. You've to specify correctly what you want, otherwise it'll be hard to help you. Anyway, check iMer's lib source, it'll probably help you.
  16. What if that function is written in lua? (it is) Like the thousands of functions inside questlib.lua. You can't think that every single function is written in the game core. -- generate when a linebreak in the functions: d.notice,notice,notice_all function notice_multiline( str , func ) local p = 0 local i = 0 while true do i = string.find( str, "%[ENTER%]", i+1 ) if i == nil then if string.len(str) > p then func( string.sub( str, p, string.len(str) ) ) end break end func( string.sub( str, p, i-1 ) ) p = i + 7 end end
  17. item.get_value(0) returns the item's value0 (item_proto). There is a quest function that allows you to add attributes to an item, but there aren't quest functions to get the attributes of an item.
  18. Your binary doesn't have EQUIPMENT_BELT module included. Compile your own binary, or use the 28k one (this means you've to upgrade your 34k files into 40k).
  19. It sets attributes... Just try it. item.set_value(0, apply.MAX_HP, 2000)
  20. Why do you want item2.set_attr ? You've item.set_value which works exactly in the same way.
  21. Hm, there was a way to make 'em work, but I don't remember how it was. And about the mounts, unless you use other mounts' vnum (or unless you use the source / or create a lib) they won't do damage.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.