sli
yea, we don't until we figure out
Openkore data + MySQL
Moderator: Moderators
-
- Human
- Posts: 46
- Joined: 27 Apr 2008, 12:52
- Noob?: No
- Location: Russia
-
- Perl Monk
- Posts: 416
- Joined: 04 Apr 2008, 03:08
Re: Openkore data + MySQL
well obviously it wont REPLACE .txt config files, but it will be an alternative option. Only those that know howto do it, will use this prolly
-
- Human
- Posts: 26
- Joined: 17 Aug 2008, 01:20
- Noob?: No
Re: Openkore data + MySQL
oh i don't use it for a config editor, its to handle multiple accounts (copies the config files and makes different profiles for each bot)sli wrote:Everything in OpenKore is obvious, people just don't want to figure shit out themselves. There's no need for a specialized config editor.
if you never used it before i would suggest looking at it
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: Openkore data + MySQL
@silence
To get this thing clear, did you misunderstood botting from different locations?
With that they mean different pc's here. If not nvm.
As for that dKore config editor, i'd rather use notepad.
Its a fact that dKore is an easy way (for novices) to manage multiple accounts, not having to mess with batches and etc.
But i suppose Sli has other ways to obtain the same results here?
To get this thing clear, did you misunderstood botting from different locations?
With that they mean different pc's here. If not nvm.
As for that dKore config editor, i'd rather use notepad.
Its a fact that dKore is an easy way (for novices) to manage multiple accounts, not having to mess with batches and etc.
But i suppose Sli has other ways to obtain the same results here?
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
-
- Perl Monk
- Posts: 810
- Joined: 04 Apr 2008, 17:26
- Noob?: No
Re: Openkore data + MySQL
I use simple cross-platform Python scripts. All I do is change the character name.
A batch file would be much simpler, I don't see why it's such a hassle...
Code: Select all
import os
Char = 'Flipkick'
if os.name == 'nt':
print 'Starting bot in Windows mode...'
while 1:
os.system('openkore --config=control/config-' + Char + '.txt')
os.system('@echo.')
os.system('@echo.')
else:
print 'Starting bot in Linux mode...'
os.system('perl ./openkore.pl --config=control/config-' + Char + '.txt')
cs : ee : realist
-
- Kami-Sama Desu~
- Posts: 195
- Joined: 04 Apr 2008, 09:24
- Noob?: Yes
- Location: 31th Dimension
Re: Openkore data + MySQL
Shared Data Server ?
The Shared Data Server project.
https://openkore.svn.sourceforge.net/sv ... rver/trunk
The Shared Data Server project.
https://openkore.svn.sourceforge.net/sv ... rver/trunk
-
- Noob
- Posts: 17
- Joined: 19 Sep 2008, 22:16
- Noob?: No
Re: Openkore data + MySQL
I think this is a pretty interesting idea, and from looking at the settings module it doesn't seem like it would be too difficult to implement.
I don't think an entire config would occupy one row, though the alternative could be pretty intensive. I'd envision something like a table for each configuration option block (autoAttack, autoTeleport) with many possible value combination in the distribution. Users could add their own but the real user facing portion would be a relationship table which would allow you to tag specific options using foreign keys. This way the user could specify in a readable format the configuration file they wanted to use.
so i guess the requriments would be something like:
1. Abstract settings to handle sql transparent to the rest of the app
2. provide an !include directive for sql
3. provide a parser to allow configurations to be inserted into their respective tables and tagged in the tag table
4. some additional abstraction for other tables.
then the goal would be something like:
!include sql hunter_stormy_knight mon_control
!include sql hunter skill_blocks
!include sql hunter item_blocks
!include sql override hunter_item_blocks flywings.txt
Where the first argument is the abstraction to use, the second is the tag in the relationship table, and the third is the type (also table name) of the configuration. The last !include illustrates and ability to override a configuration option for the database with something from a text file, I'm not sure how this is handled already.
Tags table example:
-------------------------------------------------------------------------------------------------------
| id | tag (varchar)(indexed) | type (varchar table name) | conf_id(foreign key) |
| 1 | hunter_stormy_knight | mon_control | 1(index for conf row in the mon_control table) |
--------------------------------------------------------------------------------------------------------
There will be a unique combination here.
You'll want to use InnoDB tables. Though slower, the support for foreign keys and transactions are a must, especially if you will use some centralized server to share and accept information as well.
Anyway, this might be worthless, but I'm bored and found this idea very interesting.
As for the difficulty of setting up mysql on a local host - it's not very difficult at all considering it's all point and click for the people using an os that attracts less than skilled pc users. Your only support task here would be ensuring that migrating from configuration files was easy and that the retrieval of information was transparent/highly accessable.
Oh and for 90% of computer users who have never even been introduced to the concept of a configuration file before, openkore is far from obvious. Anyone who thinks otherwise needs an ego check.
edit: and sticking a web front end on this would be very easy, and beats the alternative of managing the thousands of configuration files you'll be server over http manually.
I don't think an entire config would occupy one row, though the alternative could be pretty intensive. I'd envision something like a table for each configuration option block (autoAttack, autoTeleport) with many possible value combination in the distribution. Users could add their own but the real user facing portion would be a relationship table which would allow you to tag specific options using foreign keys. This way the user could specify in a readable format the configuration file they wanted to use.
so i guess the requriments would be something like:
1. Abstract settings to handle sql transparent to the rest of the app
2. provide an !include directive for sql
3. provide a parser to allow configurations to be inserted into their respective tables and tagged in the tag table
4. some additional abstraction for other tables.
then the goal would be something like:
!include sql hunter_stormy_knight mon_control
!include sql hunter skill_blocks
!include sql hunter item_blocks
!include sql override hunter_item_blocks flywings.txt
Where the first argument is the abstraction to use, the second is the tag in the relationship table, and the third is the type (also table name) of the configuration. The last !include illustrates and ability to override a configuration option for the database with something from a text file, I'm not sure how this is handled already.
Tags table example:
-------------------------------------------------------------------------------------------------------
| id | tag (varchar)(indexed) | type (varchar table name) | conf_id(foreign key) |
| 1 | hunter_stormy_knight | mon_control | 1(index for conf row in the mon_control table) |
--------------------------------------------------------------------------------------------------------
There will be a unique combination here.
You'll want to use InnoDB tables. Though slower, the support for foreign keys and transactions are a must, especially if you will use some centralized server to share and accept information as well.
Anyway, this might be worthless, but I'm bored and found this idea very interesting.
As for the difficulty of setting up mysql on a local host - it's not very difficult at all considering it's all point and click for the people using an os that attracts less than skilled pc users. Your only support task here would be ensuring that migrating from configuration files was easy and that the retrieval of information was transparent/highly accessable.
Oh and for 90% of computer users who have never even been introduced to the concept of a configuration file before, openkore is far from obvious. Anyone who thinks otherwise needs an ego check.
edit: and sticking a web front end on this would be very easy, and beats the alternative of managing the thousands of configuration files you'll be server over http manually.
-
- Plain Yogurt
- Posts: 52
- Joined: 10 Jul 2008, 08:20
- Noob?: No
Re: Openkore data + MySQL
Sorry Viv, Hijacking your post for a small suggestion:
Is there any way to run a .exe file remotely? In this case, I'm talking about a SSH.. Imagine the power of Bots on a dedicated server host.. Take any simple website server as well.. That would do great as well!! Running bots 24x7 would be great using this idea? But is it feasible? I've never tried it before.. Also, This can help those who can't keep their computers ON whole day/night to keep bots on and running..
Lets hope this works.. Any ideas or comments on this topic?
Is there any way to run a .exe file remotely? In this case, I'm talking about a SSH.. Imagine the power of Bots on a dedicated server host.. Take any simple website server as well.. That would do great as well!! Running bots 24x7 would be great using this idea? But is it feasible? I've never tried it before.. Also, This can help those who can't keep their computers ON whole day/night to keep bots on and running..
Lets hope this works.. Any ideas or comments on this topic?
-
- Perl Monk
- Posts: 810
- Joined: 04 Apr 2008, 17:26
- Noob?: No
Re: Openkore data + MySQL
Uh, you kinda answered your own question, didn't you?pranavrules2008 wrote:Is there any way to run a .exe file remotely? In this case, I'm talking about a SSH..
cs : ee : realist
-
- Plain Yogurt
- Posts: 52
- Joined: 10 Jul 2008, 08:20
- Noob?: No
Re: Openkore data + MySQL
I meant will an openkore bot be able to run that way? I'm not too sure how to use this SSH stuff.. I just read it somewhere.. If such an idea is possible, please could you redirect to me a guide which could explain how to do such a thing? Thanks. Much Appreciated..sli wrote:Uh, you kinda answered your own question, didn't you?pranavrules2008 wrote:Is there any way to run a .exe file remotely? In this case, I'm talking about a SSH..
