Jump to content
  • 0

Question

Posted

Hey guys, new here. Browsed around a bit, very nice forum.

 

Anyways, I am having trouble with my L2J server, I am trying to install a Gatekeeper, Buffer and GM Shop but every single time i try to execute a SQL file I get an error message.

 

Server is latest L2J Nightly (Gracia Epilogue) with latest datapack. I running XAMMP for MySQL, Apache and PHPMyAdmin. I have tried using Navicat and PHPMyAdmin to execute SQL files and neither of them work.

 

Anyways, for instance, this will not work:

INSERT INTO `custom_npc` (`id`,`idTemplate`,`name`,`serverSideName`,`title`,`serverSideTitle`,`class`,`collision_radius`,`collision_height`,`level`,`sex`,`type`,`attackrange`,`hp`,`mp`,`hpreg`,`mpreg`,`str`,`con`,`dex`,`int`,`wit`,`men`,`exp`,`sp`,`patk`,`pdef`,`matk`,`mdef`,`atkspd`,`aggro`,`matkspd`,`rhand`,`lhand`,`armor`,`walkspd`,`runspd`,`faction_id`,`faction_range`,`isUndead`,`absorb_level`,`absorb_type`,`ss`,`bss`,`ss_rate`,`AI`) 
VALUES ('50023','30080','GK','1','Gatekeeper','1','LineageNPC.a_teleporter_FHuman','8','25',','70','female','L2Teleporter','40','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','0','0','1','0','1','1','1','0','LAST_HIT','false'

 

this is the error message i get:

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '70','female','L2Teleporter','40','1','1','1','1','1','1','1','1','1','1','1','1'' at line 2
[Err] INSERT INTO `custom_npc` (`id`,`idTemplate`,`name`,`serverSideName`,`title`,`serverSideTitle`,`class`,`collision_radius`,`collision_height`,`level`,`sex`,`type`,`attackrange`,`hp`,`mp`,`hpreg`,`mpreg`,`str`,`con`,`dex`,`int`,`wit`,`men`,`exp`,`sp`,`patk`,`pdef`,`matk`,`mdef`,`atkspd`,`aggro`,`matkspd`,`rhand`,`lhand`,`armor`,`walkspd`,`runspd`,`faction_id`,`faction_range`,`isUndead`,`absorb_level`,`absorb_type`,`ss`,`bss`,`ss_rate`,`AI`) 
VALUES ('50023','30080','GK','1','Gatekeeper','1','LineageNPC.a_teleporter_FHuman','8','25',','70','female','L2Teleporter','40','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','0','0','1','0','1','1','1','0','LAST_HIT','false'
[Msg] Finished - Unsuccessfully
--------------------------------------------------

 

It is doing this with every SQL file i try.

 

This is really pissing me off, all of the NPC's i am trying are said to be working or designed for Epilogue so i dont get what the problem is. I am starting to think XAMPP sucks and maybe i should go with standalone MySQL server.

 

Any help is appreciated, thanks!

 

 

4 answers to this question

Recommended Posts

  • 0
Posted

yep, you are right, xampp sucks, but you really have error in your sql syntax

 

that sql  is totaly wrong, you have ,' after ,'8','25', you have 47 rows but only 42 inputs (like you wanna import 42 strings into 47 collumns)

  • 0
Posted

yep, you are right, xampp sucks, but you really have error in your sql syntax

 

that sql  is totaly wrong, you have ,' after ,'8','25', you have 47 rows but only 42 inputs (like you wanna import 42 strings into 47 collumns)

 

I switched to MySQL Server and uninstalled XAMPP, it did not help.

 

yeah i did not write any of that stuff, I downloaded it from these forums. Anyways, I am fixing what i can and using it.

 

Thanks for the reply.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • I tried their panel a few weeks ago mostly to test out how well it would work if you want to buy instagram followers, and it worked smoother than I expected. The delivery was quick and the followers didn’t drop off after a day or two like on some other services I’ve tried. For anyone just starting out and wanting to grow fast, it’s been a solid option so far.
    • MultiSell_begin [armor_shop_dynaa] 533 is_dutyfree = 1 selllist={ {{{[epic_dk_heavy_armor];1};{[epic_dk_heavy_legs];1};{[epic_dk_heavy_gloves];1};{[epic_dk_heavy_boots];1};{[epic_dk_heavy_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_light_armor];1};{[epic_dk_light_gloves];1};{[epic_dk_light_boots];1};{[epic_dk_light_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_robe_armor];1};{[epic_dk_robe_gloves];1};{[epic_dk_robe_boots];1};{[epic_dk_robe_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}} } MultiSell_end try this
    • A simple script which randomizes your target from shortest -> furthest so you can farm with Rush Impact on your doombringer   Edit your skill id (Default 45179): SkillList.ByID(45159, sweep)   Edit your search range (Default 900):  Script.NewThread(@SweepThread, Pointer(900));     var bSweepFurthest: boolean; // Global state variable to track which mob to get next // This procedure now alternates between finding the furthest and nearest mob. procedure SweepThread(dist: integer); var sweep: TL2Skill; mob: TL2Npc; begin while Delay(100) do begin if (Engine.Status = lsOnline) and SkillList.ByID(45159, sweep) then begin // Decide which mob to find based on the bSweepFurthest state if (bSweepFurthest) then begin mob:= GetFurthestSweepableMob(dist); // Looking for the furthest mob end else begin mob:= GetNearestSweepableMob(dist); // Looking for the nearest mob end; if (mob <> nil) then begin if Engine.SetTarget(mob) then Delay(1); Engine.UseSkill(sweep) ; // Flip the state for the next loop iteration bSweepFurthest := not bSweepFurthest; end; end; end; end; // Corrected to check for dead mobs function GetNearestSweepableMob(dist: integer): TL2Npc; var i: integer; begin Result:= nil; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) and not (NpcList(i).Dead) then begin // <<< Corrected: Sweepable mobs are dead Result:= NpcList(i); dist:= User.DistTo(NpcList(i)); end; end; end; // Modified to accept a distance parameter and corrected to check for dead mobs function GetFurthestSweepableMob(dist: integer): TL2Npc; var i: integer; max_dist: integer; begin Result:= nil; max_dist:= 0; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) // <<< Changed from 400 to the 'dist' parameter and not (NpcList(i).Dead) // <<< Corrected: Sweepable mobs are dead and (User.DistTo(NpcList(i)) > max_dist) then begin Result:= NpcList(i); max_dist:= User.DistTo(NpcList(i)); end; end; end; // Main execution block begin // Initialize the state to start by finding the furthest mob first bSweepFurthest := true; // Start the thread, passing 300 as the max distance for both nearest and furthest searches Script.NewThread(@SweepThread, Pointer(900)); Delay(-1); end.  
    • 🔥 O servidor que vai mudar seu conceito de Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Um clássico com alma moderna. Eventos inéditos, mecânicas revolucionárias e um PvP/PvE intenso como você nunca viu! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Anti-bot, anti-pay-to-win ✅ Comunidade ativa e suporte dedicado 🎯 Se você busca emoção de verdade, este é o servidor! 🔗 Acesse: https://L2Destruction.com.br 🛡️ Prepare-se para o combate. O seu destino começa agora. 🔥 The server that will redefine your Lineage 2 experience! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny A classic reborn with modern systems. Unique events, custom mechanics, and non-stop PvP/PvE action await you! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ No bots, no pay-to-win ✅ Active community and dedicated support 🎯 If you want a real challenge — this is your server! 🔗 Visit: https://L2Destruction.com.br 🛡️ The battle begins now. Your destiny awaits. 🔥 ¡El servidor que va a revolucionar tu experiencia en Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Un clásico con alma moderna. Eventos únicos, mecánicas avanzadas y acción PvP/PvE constante como nunca antes. ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Sin bots, sin pay-to-win ✅ Comunidad activa y soporte dedicado 🎯 Si buscas una experiencia real — este es tu servidor. 🔗 Ingresa a: https://L2Destruction.com.br 🛡️ Prepárate para la guerra. Tu destino comienza ahora!  
    • Dear friends! We are pleased to present our new Telegram bot for purchasing  Telegram Stars  Convenient and easy to use The best prices Fast, cheap, and safe Support for multiple payment methods ➡ Go to the bot to purchase Telegram Stars Useful links: Telegram bot for purchasing Telegram Stars: Go Digital goods store: Go Store’s Telegram bot: Go SMM Panel: Go Contacts and support: ➡ Telegram: https://t.me/socnet_support  ➡ Telegram channel: https://t.me/accsforyou_shop  ➡ WhatsApp: https://wa.me/79051904467  ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Discord: socnet_support  ➡ Discord server: https://discord.gg/y9AStFFsrh  ➡ ✉ Email: solomonbog@socnet.store  Through these contacts you can also: — get consultations on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions store 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock