Jump to content
  • 0

highest peak script


mirabell

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  197
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

hello i'm using the scripted called Highest peak that flux control panel uses. im getting a sql error, not sure if its because something changed in Rathena so i wasn't sure if its source or script or database related.

[SQL]: DB error - Incorrect table name '' [Debug]: at c:\users\truenoir\desktop\rathena\rathena-master\src\map\script.c:16 173 - SELECTusersFROM `` ORDER BYusers` LIMIT 1
[Debug]: Source (NPC): Highest Peak (invisible/not on a map)

[SQL]: DB error - Incorrect table name ''
[Debug]: at c:\users\truenoir\desktop\rathena\rathena-master\src\map\script.c:16
173 - INSERT INTO `` (users, date) VALUES (1, '2017-2-2')
[Debug]: Source (NPC): Highest Peak (invisible/not on a map)

thanks

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  1138
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Npc is script added in server?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  197
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

yes the script load to the server and when anybody logs in it creates this sql error in the mapserver

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   46
  • Joined:  08/14/12
  • Last Seen:  

[SQL]: DB error - Incorrect table name ''
SELECTusersFROM `` ORDER BYusers` LIMIT 1

 

That means your SQL statement is wrong. Check how the script is building the query.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  197
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

it's a standard flux script here the link https://github.com/rathena/FluxCP/blob/master/data/npc/PeakNPC.txt the table is automatically created by flux control panel and i verified that it is there.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...