LordAioria Posted November 3, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 12/31/11 Last Seen: April 13, 2017 Share Posted November 3, 2012 (edited) Hi all, i see that i can created signed items linked to a char_id (existing character).... but how can i created for example: Homer's knife Blanch's knife without creating any character called Homer or Blanch? other point, is how can i ask for this specific item with this specific name at script? Like : do you have Homer's knife? Ok, let's continue..... Thanks in advance Edited November 3, 2012 by LordAioria Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted November 3, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted November 3, 2012 *getnameditem(<item id>,"<name to inscribe>");*getnameditem("<item name>","<name to inscribe>"); This function is equivalent to using 'getitem', however, it will not just give the character an item object, but will also inscribe it with a specified character's name. You may not inscribe items with arbitrary strings, only with names of characters that actually exist. While this isn't said anywhere specifically, apparently, named items may not have cards in them, slots or no - these data slots are taken by the character ID who's name is inscribed. Only one remains free and it's not quite clear if a card may be there. This function will return 1 if an item was successfully created and 0 if it wasn't for whatever reason. Like 'getitem', this function will also accept an 'english name' from the item database as an item name and will return 0 if no such item exists. getnameditem "Knife","Homer"; Forget knife's ID 1 Quote Link to comment Share on other sites More sharing options...
LordAioria Posted November 3, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 12/31/11 Last Seen: April 13, 2017 Author Share Posted November 3, 2012 (edited) Thanks but ... read: You may not inscribe items with arbitrary strings, only with names of characters that actually exist. i want to have the option to create any arbitrary string .. is there any possibility ? Any idea? Edited November 3, 2012 by LordAioria Quote Link to comment Share on other sites More sharing options...
GmOcean Posted November 3, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted November 3, 2012 As of right now it's not possible. Your best option, is to go into your sql database, and create those characters, just for your scripting purposes, on a dummy account. That way, they will indeed exist. What's more it won't matter if someone else has the same name, since your sql db editor will say, duplicate entry, that way, you know you can use that name. 2 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 4, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 4, 2012 http://www.eathena.ws/board/index.php?s=&showtopic=272346&view=findpost&p=1491772 GmOcean seems to still remember this trick xD 1 Quote Link to comment Share on other sites More sharing options...
LordAioria Posted November 4, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 12/31/11 Last Seen: April 13, 2017 Author Share Posted November 4, 2012 Thanks a lot Annie !!!! Quote Link to comment Share on other sites More sharing options...
GmOcean Posted November 5, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted November 5, 2012 Lol, indeed I do. It was something i was interested in doing in the past, allowing my players to create weapons with custom names for fun..... Maybe I'll go look at eA's scripts and revamp them for rA D: Quote Link to comment Share on other sites More sharing options...
LordAioria Posted November 26, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 12/31/11 Last Seen: April 13, 2017 Author Share Posted November 26, 2012 Thanks in advance Ocean Quote Link to comment Share on other sites More sharing options...
Question
LordAioria
Hi all,
i see that i can created signed items linked to a char_id (existing character)....
but how can i created for example:
Homer's knife
Blanch's knife
without creating any character called Homer or Blanch?
other point, is how can i ask for this specific item with this specific name at script?
Like :
do you have Homer's knife? Ok, let's continue.....
Thanks in advance
Edited by LordAioriaLink to comment
Share on other sites
7 answers 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.