Jump to content
  • 0

SQL


Legato

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   1
  • Joined:  11/20/11
  • Last Seen:  

k9my8.png

Everytime I use the Mailing NPC or @mail command this error shows up.

I found the sql queries for the mail inside the upgrade_svn11548.sql file. But it keeps on showing "Unknown column" for every queries when I execute it.

And inside the game I get this error "You have failed to mail a message. Recipient does not Exist"

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

What compile version are you using?

This is also in the wrong section.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

You use newer version from eAthena or other emu yet you don't update your SQL databases.

Try injecting the updates from /compile/sql-files/ to your database and update it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   1
  • Joined:  11/20/11
  • Last Seen:  

Apologies. Please, move it to the right section. Thanks.

I'm using 14908 and there's no /compile/ folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

i mean your trunk / stable folder.. Just go to sql-files folder and load the upgrade_svnXXXXX.sql ( version from your old compile until now

and inject it to your database )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Hi TS

i suggest you use the latest one

but if you will still use 14908

here's the thing

you don't need to inject "upgrade_svn11548.sql"

since main.sql already has it

--
-- Table structure for table `mail`
--
CREATE TABLE IF NOT EXISTS `mail` (
 `id` bigint(20) unsigned NOT NULL auto_increment,
 `send_name` varchar(30) NOT NULL default '',
 `send_id` int(11) unsigned NOT NULL default '0',
 `dest_name` varchar(30) NOT NULL default '',
 `dest_id` int(11) unsigned NOT NULL default '0',
 `title` varchar(45) NOT NULL default '',
 `message` varchar(255) NOT NULL default '',
 `time` int(11) unsigned NOT NULL default '0',
 `status` tinyint(2) NOT NULL default '0',
 `zeny` int(11) unsigned NOT NULL default '0',
 `nameid` int(11) unsigned NOT NULL default '0',
 `amount` int(11) unsigned NOT NULL default '0',
 `refine` tinyint(3) unsigned NOT NULL default '0',
 `attribute` tinyint(4) unsigned NOT NULL default '0',
 `identify` smallint(6) NOT NULL default '0',
 `card0` smallint(11) NOT NULL default '0',
 `card1` smallint(11) NOT NULL default '0',
 `card2` smallint(11) NOT NULL default '0',
 `card3` smallint(11) NOT NULL default '0',
 PRIMARY KEY  (`id`)
) ENGINE=MyISAM;

btw

the /compile/ he meant

was /SVN/

where your rAthena files are found ( root )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   1
  • Joined:  11/20/11
  • Last Seen:  

Ohh. Hiya, Keikun. Yep, I saw that from main.sql. But, how is that I get that error everytime I try to mail someone.

2essy2killu, do I have to execute it all? Entries would be duplicated.

EDIT :

Is this the correct link for download for renewal?

Edited by Legato
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

This topic is currently under review

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Ohh. Hiya, Keikun. Yep, I saw that from main.sql. But, how is that I get that error everytime I try to mail someone.

2essy2killu, do I have to execute it all? Entries would be duplicated.

EDIT :

Is this the correct link for download for renewal?

try to

truncate mail table

then if still error

try to re-execute the whole main.sql

and yes

thats rA's Renewal branch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   19
  • Joined:  11/20/11
  • Last Seen:  

hes using 3ceam are we even supporting that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

i know thats its 3ceam

but 3CeAM came from eA Trunk

EDIT:

and i don't see 3CeAM doing an update with Mail System~

Edited by KeiKun
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   1
  • Joined:  11/20/11
  • Last Seen:  

Yes. It's 3ceam based. And I wasn't asking anything about 3ceam.

Thank you, Keikun. Done doing that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

Ohh. Hiya, Keikun. Yep, I saw that from main.sql. But, how is that I get that error everytime I try to mail someone.

2essy2killu, do I have to execute it all? Entries would be duplicated.

Impossible because all of the upgrade sql don't have CREATE command for the previouses

version that will do duplicate entries.. If it's failed just take CREATE table mail from main.sql

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  12/01/11
  • Last Seen:  

Umm, shouldn't the user be downloading directly from the RA SVN to avoid confusion a/o issues?

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...