Jump to content

Invictus

Inactive Member
  • Posts

    191
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Invictus

  1. Any chance you've also got the config.yml? if so, where does this one get placed? I appreciate the help!
  2. that was it, i was using the wrong one as i'm on 64bit. upon altering those i've now got a request for libmysqlclient.so.18 - I can't find it via google, do you happen to have a copy in your files?
  3. Inya, i've tried that lib discussed here :[Hidden Content] and i get the errors on it, if you know a fix i'd greatly appreciate it if not i've gotta get a DIF for this :/ i have no idea how to make difs myself
  4. that's a dif that a friend found, apparently it works for the '20k' according to him, i haven't tested it.
  5. Hi, I've found a Dif that work's for the 20k game file but i'm running on 34k I was wondering if someone could make this for the 34k game file. this dif adds a new command "pc.set_level(99)" this is for a new system that i'm working on. here's the dif for the 20k not sure if it'll help. game2089m 00156013: F9 D7 00156030: E8 90 00156031: 57 90 00156032: F0 90 00156033: EA 90 00156034: FF 90 00156079: 8D 89 0015607A: 04 44 0015607B: 40 24 0015607C: C1 04 0015607D: E0 C7 0015607E: 02 04 0015607F: 8B 24 00156080: 8C 01 00156081: 05 00 00156082: 7C 00 00156083: FF 00 00156084: FF A1 00156085: FF 40 00156086: 8B 63 00156087: 54 47 00156088: 05 08 00156089: 80 89 0015608A: 6B 44 0015608B: DA 24 0015608C: 64 08 0015608D: 6B E8 0015608E: F1 DE 0015608F: 64 7C 00156090: C7 17 00156091: 44 00 00156092: 24 89 00156093: 08 44 00156094: 0F 24 00156095: 4A 04 00156096: 34 89 00156097: 08 3C 00156098: C7 24 00156099: 44 E8 0015609A: 24 D2 0015609B: 04 BC 0015609C: 01 ED 0015609D: 00 FF 0015609E: 00 89 0015609F: 00 3C 001560A0: 89 24 001560A1: 5C E8 001560A2: 24 6A 001560A3: 10 EC 001560A4: 89 F0 001560A5: 74 FF 001560A6: 24 EB 001560A7: 0C 46 001560F8: 01 00 00312E0C: 74 73 00312E0E: 6C 74 00312E0F: 65 5F 00312E10: 70 6C 00312E11: 6F 65 00312E12: 72 76 00312E13: 74 00
  6. No longer getting that error EDIT still getting the error took time to show up o.O- but SYSERR: Apr 27 22:49:08 :: RunState: LUA_ERROR: [string "exp"]:2: attempt to index global `pc2' (a nil value) SYSERR: Apr 27 22:49:08 :: WriteRunningStateToSyserr: LUA_ERROR: quest exp.start click quest exp begin state start begin when 53506.use begin say("You've received 1,000,000 experience points.") pc2.set_level(20) item.remove() end end end ^ just a test quest to test the function
  7. I placed in the lib edited the start so it gets loaded up and appears to load in fine but when attempting to use the functions in the quest it doesnt work and i get the following error i get this in putty after i use the object i attached a function to sh start2.sh #!/bin/sh echo -e "033[31m How many channels you want to start ? n 1 - (1) Channeln 2 - (2) Channeln 3 - (3) Channeln 4 - (4) Channeln 5 - (5) Authn Server Start" read anzahl case $anzahl in 1*) echo -e "033[31m Startet die Datenbank ..033[0m" cd data/db && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./db & sleep 2 echo -e "033[31m Die Datenbank wurde gestartet.033[0m" echo -e "033[31m Startet den Loginserver ..033[0m" cd data/auth && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./auth & sleep 2 echo -e "033[31m Der Loginserver wurde gestartet[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 1 wurde gestartet.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 2 wurde gestartet.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 3 wurde gestartet.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 2 echo -e "033[31m game99 Core 4 wurde gestartet.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 1 ..033[0m" cd ./channel1/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 2 ..033[0m" cd ./channel1/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 3 ..033[0m" cd ./channel1/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 4 ..033[0m" cd ./channel1/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 5 ..033[0m" cd ./channel1/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 wurde gestartet.n n Channel Gestartet033[0m" cd .. ;; 3*) echo -e "033[31m Startet die Datenbank ..033[0m" cd data/db && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./db & sleep 2 echo -e "033[31m Die Datenbank wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 1 ..033[0m" cd ./channel1/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 2 ..033[0m" cd ./channel1/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 3 ..033[0m" cd ./channel1/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 4 ..033[0m" cd ./channel1/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 5 ..033[0m" cd ./channel1/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 1 ..033[0m" cd ./channel2/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 2 ..033[0m" cd ./channel2/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 3 ..033[0m" cd ./channel2/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 4 ..033[0m" cd ./channel2/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 5 ..033[0m" cd ./channel2/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 1 ..033[0m" cd ./channel3/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 2 ..033[0m" cd ./channel3/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 3 ..033[0m" cd ./channel3/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 4 ..033[0m" cd ./channel3/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 5 ..033[0m" cd ./channel3/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 5 wurde gestartet.033[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 1 wurde gestartet.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 2 wurde gestartet.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 3 wurde gestartet.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 2 echo -e "033[31m game99 Core 4 wurde gestartet.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet den Loginserver ..033[0m" cd ./data/auth && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./auth & sleep 2 echo -e "033[31m Der Loginserver wurde gestartet.n n Channel Gestartet033[0m" cd .. ;; 4*) echo -e "033[31m Startet die Datenbank ..033[0m" cd data/db && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./db & sleep 2 echo -e "033[31m Die Datenbank wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 1 ..033[0m" cd ./channel1/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 2 ..033[0m" cd ./channel1/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 3 ..033[0m" cd ./channel1/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 4 ..033[0m" cd ./channel1/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 1 Core 5 ..033[0m" cd ./channel1/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 1 ..033[0m" cd ./channel2/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 2 ..033[0m" cd ./channel2/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 3 ..033[0m" cd ./channel2/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 4 ..033[0m" cd ./channel2/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 2 Core 5 ..033[0m" cd ./channel2/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 2 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 1 ..033[0m" cd ./channel3/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 2 ..033[0m" cd ./channel3/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 3 ..033[0m" cd ./channel3/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 4 ..033[0m" cd ./channel3/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 3 Core 5 ..033[0m" cd ./channel3/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 3 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 4 Core 1 ..033[0m" cd ./channel4/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 4 Core 1 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 4 Core 2 ..033[0m" cd ./channel4/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 4 Core 2 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 4 Core 3 ..033[0m" cd ./channel4/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 4 Core 3 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 4 Core 4 ..033[0m" cd ./channel4/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 4 Core 4 wurde gestartet.033[0m" echo -e "033[31m Startet Channel 4 Core 5 ..033[0m" cd ./channel4/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 4 Core 5 wurde gestartet.033[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 1 wurde gestartet.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 2 wurde gestartet.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m game99 Core 3 wurde gestartet.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 2 echo -e "033[31m game99 Core 4 wurde gestartet.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 wurde gestartet.033[0m" echo -e "033[31m Startet den Loginserver ..033[0m" cd ./data/auth && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./auth & sleep 2 echo -e "033[31m Der Loginserver wurde gestartet.n n Channel Gestartet033[0m" cd .. ;; 5*) echo -e "033[31m Startet den Loginserver ..033[0m" cd ./data/auth && env LD_PRELOAD="/usr/home/game/share/libgame.so" ./auth & sleep 2 echo -e "033[31m Der Loginserver wurde gestartet.n n Channel Gestartet033[0m" cd .. esac quest: quest level begin state start begin when 53506.use begin say("You've received level 25) pc2.set_level(20) item.remove() end end end
  8. Hi everyone, we're developing a new system but we're having some trouble finding a method to alter the players level via LUA or another code. we can't use mysql as that will require a server restart to be in effect. We're running on 34k cores, any help with this is greatly appreciated! Regards Invictus
  9. in terms of the shooting i don't know how to make it draw a bullet and fire along the angle of the turret, i'm working on the other areas currently such as max speed etc to clean those areas up. i don't know where to start with the bullet itself. the reason why i posted the entire code was so people could test themselves. // player class class playerInfo { public: playerInfo(); // the constructor bool upPressed; // whether or not they are pressing their "up" key bool downPressed; // whether or not they are pressing their "down" key bool leftPressed; // and so on bool rightPressed; bool turretrightPressed; bool turretleftPressed; // and so on float rotation; // the rotation of their avatar float turretrotation; // the rotation of their avatar float xPos; // position in world float yPos; float speed; float A; float B; }; playerInfo::playerInfo() { upPressed = false; downPressed = false; leftPressed = false; rightPressed = false; turretleftPressed = false; turretrightPressed = false; rotation = 0.0f; turretrotation = 0.0f; xPos = 0.0f; yPos = 0.0f; speed = 0.0f; A = 0.0f; B = 0.0f; } // below is from a case statement currentGame->playerArray[0]->turretleftPressed = true; if (currentGame->playerArray[i]->turretleftPressed) { currentGame->playerArray[i]->turretrotation += (ROTATION_SPEED * deltaAdjustment); } now from the above thats jsut the player class and the turret rotation, i need to make it so i can send a bullet along the turrets current rotation angle. umm not sure what other information to provide :/
  10. I did need to, HaveBeen as stated in the topic title, this isn't regarding Metin2
  11. Hey guys, i'm working on a university project and well i missed a few classes i've got the movement working, tank turrent moving etc but i need to get the shooting and collision if the bullet hits the other tank working then automatic reset to starting positions tank 1 keys WS <- Movement AD < - Tank Rotation Q - E <- Turret rotation Tank 2 Keys I - K <- Movement J - L <- Tank Rotation U - O <- Turret Rotation any help is really appreciated The source code is available here: [Hidden Content]
  12. Hey, i've been sorting out a quest so that when you've got an item in your inventory you'll gain a bonus without the need to use, in this instance it's mounts. I've got it to work bug free but i can't figure out the remaining values. the code below is what detects the item and then apples a mount_bonus value in this instance it applies 5,000 HP when the item is in your inventory. any value other than "1" <-- for hp doesn't work. here's a list of the possible values for all bonuses. if anyone has done this and got it working with things such as monster damage and other bonuses i'd greatly appreciate you showing me how you got it. quest mountbonus begin state start begin when login or enter with pc.getqf("mount_bonus") != 1 begin if pc.count_item(52001)>=1 then pc.mount_bonus(1, 5000, 60*60*24*365) pc.setqf("mount_bonus", 1) end end when logout or disconnect with pc.getqf("mount_bonus") == 1 begin pc.setqf("mount_bonus", 0) pc.mount_bonus(1, -5000, 60*60*24*365) end end end apply = { ["MAX_HP"] = 1, ["MAX_SP"] = 2, ["CON"] = 3, ["INT"] = 4, ["STR"] = 5, ["DEX"] = 6, ["ATT_SPEED"] = 7, ["MOV_SPEED"] = 8, ["CAST_SPEED"] = 9, ["HP_REGEN"] = 10, ["SP_REGEN"] = 11, ["POISON_PCT"] = 12, ["STUN_PCT"] = 13, ["SLOW_PCT"] = 14, ["CRITICAL_PCT"] = 15, ["PENETRATE_PCT"] = 16, ["ATTBONUS_HUMAN"] = 17, ["ATTBONUS_ANIMAL"] = 18, ["ATTBONUS_ORC"] = 19, ["ATTBONUS_MILGYO"] = 20, ["ATTBONUS_UNDEAD"] = 21, ["ATTBONUS_DEVIL"] = 22, ["STEAL_HP"] = 23, ["STEAL_SP"] = 24, ["MANA_BURN_PCT"] = 25, ["DAMAGE_SP_RECOVER"] = 26, ["BLOCK"] = 27, ["DODGE"] = 28, ["RESIST_SWORD"] = 29, ["RESIST_TWOHAND"] = 30, ["RESIST_DAGGER"] = 31, ["RESIST_BELL"] = 32, ["RESIST_FAN"] = 33, ["RESIST_BOW"] = 34, ["RESIST_FIRE"] = 35, ["RESIST_ELEC"] = 36, ["RESIST_MAGIC"] = 37, ["RESIST_WIND"] = 38, ["REFLECT_MELEE"] = 39, ["REFLECT_CURSE"] = 40, ["POISON_REDUCE"] = 41, ["KILL_SP_RECOVER"] = 42, ["EXP_DOUBLE_BONUS"] = 43, ["GOLD_DOUBLE_BONUS"] = 44, ["ITEM_DROP_BONUS"] = 45, ["POTION_BONUS"] = 46, ["KILL_HP_RECOVER"] = 47, ["IMMUNE_STUN"] = 48, ["IMMUNE_SLOW"] = 49, ["IMMUNE_FALL"] = 50, ["SKILL"] = 51, ["BOW_DISTANCE"] = 52, ["ATT_GRADE_BONUS"] = 53, ["DEF_GRADE_BONUS"] = 54, ["MAGIC_ATT_GRADE"] = 55, ["MAGIC_DEF_GRADE"] = 56, ["CURSE_PCT"] = 57, ["MAX_STAMINA"] = 58, ["ATTBONUS_WARRIOR"] = 59, ["ATTBONUS_ASSASSIN"] = 60, ["ATTBONUS_SURA"] = 61, ["ATTBONUS_SHAMAN"] = 62, ["ATTBONUS_MONSTER"] = 63, }
  13. mmm i can't see what's up with the code tried sorting it but cant see the error . also i just tested my teleport quest on my test server, it works fine there . is there something within the database that can be blocking the quest?
  14. Hey, for some profound reason my teleport quest has decided to stop working, i hadnt made any alterations to it but suddenly i could no longer speak to the npc, i moved the quest to another npc, same thing, couldn't speak. there's no errors, and in the syslog it says that ive clicked on it :/ any ideas? when i backdate just my database it works again. but my last backup was 24 hours ago, i attempted to take all the charterers, info and various elements to the backup but when i logged in the new characters didnt show up in the selection screen :/ at the time i was debugging a different quest, which also randomly stopped working but yet the code is fine. the teleport code is below. all other quests are working fine. Apr 14 05:18:00 :: OnClick Hong-Hae[vnum 20094 ServerUniqueID 22053, pid 0] by [GOD]Invictus quest betamapwarp begin state start begin when 20094.chat."Trade Map (Lv. 10)" with pc.get_level() > 9 begin say_title("Hong-Hae") say("") say("This is a trade map..") say("Place where all empires,") say("can trade") say("want go there?") say("") say_reward("Really want to be teleported?") local s1=select("Teleport","Cancel") if s1 == 1 then pc.warp(3812585, 3799162) else return end end when 20094.chat."Farm Map (Lv. 1)" with pc.get_level() == 200 begin say_title("Hong-Hae:") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("First, let me see your qualification.") say("") wait() if pc.count_item(50156)>0 then setdelay(20) say("") say("So you got it. Good!") say("") pc.remove_item(50156) elseif pc.count_item(50156) >0 then setdelay(20) say("") say("So you got it. Good!") say("") else say("You need a Diamond Key.") say("I cannot let you in if you don't have the key.") say("") say_item("Passage",50156,"") return end setdelay(20) say("") say("..Follow me!") say("") resetdelay() wait() pc.warp(2641500, 2693900) end when 20094.chat."Bay Black Sand (Lv. 75)" with pc.get_level() > 74 begin setdelay(20) say_title("Hong-Hae:") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("First, let me see your qualification.") say("") wait() if pc.count_item(50156)>0 then setdelay(20) say("") say("So you got it. Good!") say("") pc.remove_item(50156) elseif pc.count_item(50156) >0 then setdelay(20) say("") say("So you got it. Good!") say("") else say("You need a Diamond Key.") say("I cannot let you in if you don't have the key.") say("") say_item("Passage",50156,"") return end setdelay(20) say("") say("..Follow me!") say("") resetdelay() wait() pc.warp(1087000, 1655400) end when 20094.chat."Cape Dragon Head (Lv. 80)" with pc.get_level() > 79 begin say_title("Hong-Hae") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("Really want to be teleported?") local s1=select("Teleport","Cancel") if s1 == 1 then pc.warp(1084600, 1784400) else return end end when 20094.chat."Dawn Mist Wood (Lv. 90)" with pc.get_level() > 89 begin say_title("Hong-Hae") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("Really want to be teleported?") local s1=select("Teleport","Cancel") if s1 == 1 then pc.warp(1226600, 1680600) else return end end when 20094.chat."Mt Thunder (Lv. 95)" with pc.get_level() > 94 begin say_title("Hong-Hae") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("Really want to be teleported?") local s1=select("Teleport","Cancel") if s1 == 1 then pc.warp(1134400, 1654800) else return end end when 20094.chat."Jungle Waste (Lv. 110)" with pc.get_level() > 109 begin say_title("Hong-Hae") say("") say("This is a nice place..") say("But very very dangerously,") say("So think twice do you realy") say("want go there?") say("") say_reward("Really want to be teleported?") local s1=select("Teleport","Cancel") if s1 == 1 then pc.warp(53776900, 51237100) else return end end end end
  15. Hey, i've got an issue with one of my weapons showing the wrong effect at the + it's at mmm the icons etc are all right any idea? solved.
  16. alright, i'll try that now , wasn't aware there was any ranges on vnums edit - thanks for the information Shogun, appears there is a range in regards to the Vnums. spent the past 3 hours redoing it multiple times to see if i made a mistake
  17. Nope, it's a tab. i can get the item ingame with the correct icon, from what i can gather is it can't find the texture as it comes up with this error: 0412 09:24:23304 :: CreateFromMemoryFile: Cannot create texture the really odd thing is it works perfectly fine if i change the number of the item file to a per-existing weapon. mmmm just to make sure the tabs were right i just copied an existing item from itemlist and just modified the target file so its not the item_list mmm
  18. 0412 09:24:23304 :: CreateFromMemoryFile: Cannot create texture the models are working fine, i just put the model value to 00010 ( level 1 sword) and it worked fine. i can't see any flaws in the other areas
  19. Just tested, after unpacking i can still view the model. for server side proto i just took an existing sword and altered the vnum which has worked on other sets i've added. 75060 "µµ+9" "ITEM_WEAPON" "WEAPON_SWORD" 2 "ANTI_MUDANG" "ITEM_TUNABLE" "WEAR_WEAPON" "NONE" 100 750 0 0 15 "LEVEL" 0 "LIMIT_NONE" 0 "APPLY_ATT_SPEED" 22 "APPLY_NONE" 0 "APPLY_NONE" 0 0 15 19 13 15 63 100 1 0
  20. Hi, I've just attempted to install a new weapon set ([Hidden Content]) for some profound reason the items aren't showing up ingame, i can get the icons to come ingame and equip it but it doesn't put the player in the right stance or show the weapon at all. I've had no other problems installing weapon sets and i did this the same way, the only difference is this contained a folder labeled "texture" which i wasn't entirely sure about so i put that in the item.epk here's a list of the XML's, proto's & item list ITEM LIST 75060 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75061 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75062 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75063 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75064 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75065 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75066 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75067 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75068 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 75069 WEAPON icon/item/75060.tga d:/ymir work/item/weapon/75060.gr2 ITEM PROTO(Client Side) <Item vnum="75060" hashName="µµ+0" name="Sword+0" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="11" refine_set="1" magic_pct="15" specular="0" socket_pct="1" /> <Item vnum="75061" hashName="µµ+1" name="Sword+1" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="100" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="7" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="12" refine_set="2" magic_pct="15" specular="0" socket_pct="1" /> <Item vnum="75062" hashName="µµ+2" name="Sword+2" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="100" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="14" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="13" refine_set="3" magic_pct="15" specular="0" socket_pct="1" /> <Item vnum="75063" hashName="µµ+3" name="Sword+3" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="150" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="21" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="14" refine_set="4" magic_pct="15" specular="0" socket_pct="1" /> <Item vnum="75064" hashName="µµ+4" name="Sword+4" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="150" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="28" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="15" refine_set="5" magic_pct="15" specular="30" socket_pct="1" /> <Item vnum="75065" hashName="µµ+5" name="Sword+5" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="200" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="35" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="16" refine_set="6" magic_pct="15" specular="40" socket_pct="1" /> <Item vnum="75066" hashName="µµ+6" name="Sword+6" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="250" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="42" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="17" refine_set="7" magic_pct="15" specular="50" socket_pct="1" /> <Item vnum="75067" hashName="µµ+7" name="Sword+7" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="350" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="49" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="18" refine_set="8" magic_pct="15" specular="65" socket_pct="1" /> <Item vnum="75068" hashName="µµ+8" name="Sword+8" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="500" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="56" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="19" refine_set="9" magic_pct="15" specular="80" socket_pct="1" /> <Item vnum="75069" hashName="µµ+9" name="Sword+9" type="1" subtype="0" weight="0" size="2" antiflag="32" flag="1" wearflag="16" immuneflag="0" gold="100" buy_price="750" limittype0="1" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="7" applyvalue0="22" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="15" value2="19" value3="13" value4="15" value5="63" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="15" specular="100" socket_pct="1" /> ICON XML <File archivedPath="icon/item/75060.tga" type="1"><![CDATA[Sourceiconitem75060.tga]]></File> ITEM XML <File archivedPath="d:/ymir work/item/weapon/75060.gr2" type="1"><![CDATA[Sourceymir workitemweapon75060.gr2]]></File> <File archivedPath="d:/ymir work/item/weapon/set_10_bombwork.dds" type="1"><![CDATA[Sourceymir workitemweaponset_10_bombwork.dds]]></File> If someone can help me solve this issue I'd greatly appreciate it!!
  21. Hey, for some profound reason no common items will drop on my server, upgrade items and other various stuff. things like potions and flowers drop but that's about it, i done extensive testing with various mobs. here's my mob_drop_item and common_drop [Hidden Content] any help is appreciated in regards to fixing this. Solved, replaced with clean drop items files.
  22. Hey, can someone tell me the values appropriate to the mount_bonus used in quests please. i've tried some of the ones that work for general bonuses on items but the only one that worked was the HP one. pc.mount_bonus(X, Z, 60*60*24*365)
  23. Hey, i've tried changing the Anti flag etc but it still won't allow me to trade the item, if someone could modify the proto line to make it tradeabe/sellable etc i'd appreciate it EDIT: SOLVED 39002 "°æÇèÀǹÝÁö" "ITEM_UNIQUE" "UNIQUE_NONE" 1 "ANTI_DROP | ANTI_SELL | ANTI_STACK | ANTI_MYSHOP" "CONFIRM_WHEN_USE" "WEAR_SHIELD" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 60 0 0 0 0 0 0 0 0 Regards Invictus
×
×
  • 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.