Search found 23 matches
- Mon Feb 08, 2010 2:30 am
- Forum: Runes of Magic
- Topic: How to detect that teleport is completed
- Replies: 3
- Views: 1332
Re: How to detect that teleport is completed
The easy way is to just yrest for 30 seconds (or more, if you have a slow computer). This is very problematic on a PVP server :), because the character can be killed :). Additionally, it looks very suspicious if the character stays for this long period. Also I'm trying to farm in a non-stop mode (u...
- Sat Feb 06, 2010 12:44 pm
- Forum: Runes of Magic
- Topic: How to detect that teleport is completed
- Replies: 3
- Views: 1332
How to detect that teleport is completed
I've created a waypoint file for solo Raichika farming. All work well except one. Sometimes the script crashes on Cpawn:update when my character teleports from/to the instance. I think that this problem is caused by characters address changing. So, my question is: how to detect that teleport is comp...
- Mon Feb 01, 2010 3:54 am
- Forum: Runes of Magic
- Topic: Harvesting nodes spawn time
- Replies: 2
- Views: 1698
Re: Harvesting nodes spawn time
This is very random. Additionally, some nodes respawn when you'll harvest other nodes.
- Thu Jan 14, 2010 1:47 am
- Forum: Runes of Magic
- Topic: Selection before Quest completing
- Replies: 10
- Views: 2859
Re: Selection before Quest completing
click on first reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
- Mon Nov 30, 2009 9:41 am
- Forum: Runes of Magic
- Topic: Executing lua code after waypoints file load
- Replies: 3
- Views: 1327
Re: Executing lua code after waypoints file load
You could put it in your profile's onLoad event. You'll just have to check which file is loaded. The problem with this is that it reads directly out of the profile which waypoint list to look for and will not be affected by forced profile changes (by using path:whatever in the command line). Thank ...
- Mon Nov 30, 2009 3:31 am
- Forum: Runes of Magic
- Topic: Executing lua code after waypoints file load
- Replies: 3
- Views: 1327
Executing lua code after waypoints file load
Is it possible to execute a lua code after waypoints file load? Situation: I harvest resources in different locations. I would to change some profile options (harvest range for example) for each location. I can put this code within a waypoint, but the bot can start from any waypoint and therefore th...
- Sun Nov 22, 2009 4:26 am
- Forum: Runes of Magic
- Topic: Invite/Leave party code
- Replies: 2
- Views: 1696
Re: Invite/Leave party code
RoMScript('InviteByName("'..player_name..'");');
- Sat Oct 10, 2009 4:42 am
- Forum: Runes of Magic
- Topic: SVN 337: support for russian client / cast prior cooldown
- Replies: 9
- Views: 2559
Re: SVN 337: support for russian client / cast prior cooldown
I've tested the latest build. The bot works perfectly with the russian client. Thank you for your work !
- Fri Oct 09, 2009 2:04 pm
- Forum: Runes of Magic
- Topic: SVN 337: support for russian client / cast prior cooldown
- Replies: 9
- Views: 2559
Re: SVN 337: support for russian client / cast prior cooldown
Russian OEM code page (866).
http://en.wikipedia.org/wiki/Code_page_866
http://en.wikipedia.org/wiki/Code_page_866
- Fri Oct 09, 2009 8:38 am
- Forum: Runes of Magic
- Topic: SVN 337: support for russian client / cast prior cooldown
- Replies: 9
- Views: 2559
Re: SVN 337: support for russian client / cast prior cooldown
function utf82oem(txt) txt = string.gsub(txt, string.char(0xD0, 0x81), "Ð"); txt = string.gsub(txt, string.char(0xD1, 0x91), "Ñ‘"); What are the string.char() values for the Ð and Ñ‘ ? 211 and 137 ? txt = string.gsub(txt, string.char(0xD0, 0x81), string.char(0xA8)); txt = stri...
- Fri Oct 09, 2009 7:39 am
- Forum: Runes of Magic
- Topic: SVN 337: support for russian client / cast prior cooldown
- Replies: 9
- Views: 2559
Re: SVN 337: support for russian client / cast prior cooldown
I'm not sure, if I understand everything. The field 'ascii' is what we use to print in the MM window. Because that also contains umlauts and we so can see the umlauts in the mm window protocol. The field 'dos_replace' is used to convert player names to profile names. Because lua don't accept umlaut...
- Fri Oct 09, 2009 2:46 am
- Forum: Runes of Magic
- Topic: SVN 337: support for russian client / cast prior cooldown
- Replies: 9
- Views: 2559
Re: SVN 337: support for russian client / cast prior cooldown
The player name should be converted from UTF8 to ASCII before reading the profile. but all other string resources should be converted from UTF8 to OEM (DOS) charset, because these strings will be outputted on the screen. There isn't a problem with the player name, because the russian client doesn't ...
- Tue Oct 06, 2009 10:36 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
Does the bot allready work with the russian client. I mean are the memory addresses the same? And thx for your translation. I don't forget it. The russian client was updated to v 2.1.0 b 1893 and perfectly works with current addresses from the SVN. I've found that you add some new messages to the b...
- Tue Oct 06, 2009 6:11 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
I would ask, when do you plan to implement UTF8 support for russian characters and add russian translation that I posted before to the SVN?
- Tue Sep 29, 2009 1:43 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
I've found a problem. My character walks from waypoint #1 to waypoint #2, at this time the bot casts MAGE_ELECTROSTATIC_CHARGE. In this case the character stops and then the bot tries to unstick it. Sometimes this action causes problems.
- Mon Sep 14, 2009 5:30 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
I'm writing a harvesting bot that works in background and would to know how to place a camera above the player character and increase distance (Y coord?) of the camera? I've tried to use the camera object, but without success.
- Mon Sep 14, 2009 5:18 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
I would also ask you to add full support of utf8. Now, you are translating umlauts only, but in the russian client all characters should be translated. I've added it to the utf8_ascii.xml, but found that utf8ToAscii is hardcoded for umlauts only. If I'll define my implementation of the utf8ToAscii ...
- Mon Sep 14, 2009 12:33 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
I would also ask you to add full support of utf8. Now, you are translating umlauts only, but in the russian client all characters should be translated. I've added it to the utf8_ascii.xml, but found that utf8ToAscii is hardcoded for umlauts only. If I'll define my implementation of the utf8ToAscii f...
- Mon Sep 14, 2009 12:27 am
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
keyboardSetDelay(0); Place it in bot.lua, directly above the attach() call on line 71. That's only a cheap workaround, but it should let us know if this is the cause or not. Unfortunately, it didn't help. I don't see any difference. Of course, I've limited the number of slots to scan to 25. I can't...
- Sun Sep 13, 2009 1:17 pm
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 874515
Re: RoM bot
How to disable indexing of the bag on launch, but allow the bot to use potions? Because this process takes too much time. Indexing of 25 slots takes about 10-15 secs. The "old style" potions usage (through hotkeys) is better for me in all cases. Not at this time. If it really takes that l...