ittiphol Posted April 25, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted April 25, 2021 Send mail but mail box not refresh new message. Must click refresh by self or logout select character again. query_sql("INSERT INTO `mail` (`id`, `send_name`, `send_id`, `dest_name`, `dest_id`, `title`, `message`, `time`, `status`, `zeny`, `type`) VALUES ('', 'System', '150001', 'Admin', '150000', 'Test', 'Test mail', unix_timestamp( now() ), '1', '0', '0') "); Sorry my english. Thank you advance. Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted April 25, 2021 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: Yesterday at 12:42 AM Share Posted April 25, 2021 Why not use Script command mail Example of sending mail with items: .@charid = getcharid(0); .@sender$ = "Angeling"; .@title$ = "Welcome"; .@body$ = "Hi! I'm a simple Angeling from the Prontera fields! Welcome to Ragnarok!"; .@zeny = 0; setarray .@mailitem[0], 504, 505, 2220, 1214; // White Potion, Blue Potion, Hat, Dagger setarray .@mailamount[0], 10, 5, 1, 1; // 10 White Potions, 5 Blue Potions, 1 Hat, 1 Dagger setarray .@mailrefine[0], 0, 0, 3, 10; // +3 Hat, +10 Dagger setarray .@mailbound[0], 0, 0, Bound_Account, Bound_Char; // Account bounded Hat, Char bounded Dagger setarray .@mailcard0[0], 0, 0, 4198, 4092; // Attach Maya Purple Card to the Hat, Attach Skeleton Worker Card to Dagger setarray .@mailcard1[0], 0, 0, 0, 4092; // Attach Skeleton Worker Card to Dagger setarray .@mailcard2[0], 0, 0, 0, 4092; // Attach Skeleton Worker Card to Dagger mail .@charid, .@sender$, .@title$, .@body$, .@zeny, .@mailitem, .@mailamount, .@mailrefine, .@mailbound, .@mailcard0, .@mailcard1, .@mailcard2; Quote Link to comment Share on other sites More sharing options...
Question
ittiphol
Send mail but mail box not refresh new message.
Must click refresh by self or logout select character again.
query_sql("INSERT INTO `mail` (`id`, `send_name`, `send_id`, `dest_name`, `dest_id`, `title`, `message`, `time`, `status`, `zeny`, `type`) VALUES ('', 'System', '150001', 'Admin', '150000', 'Test', 'Test mail', unix_timestamp( now() ), '1', '0', '0') ");
Sorry my english.
Thank you advance.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.