Intro
I said I would do this release a few days ago but kept putting it off so here it is.
Release Function:
This release will make the main compose NPC of EO (Market-Aderes) randomly decide to move to locations near him. This should prevent the Auto-Compose Bot that has made some things unfair for other players.
Future Updates:
I will be working on an app that you will assign NPC ID values to which in turn it will assign the random move script to this NPC. There will also be a maintenance app that will change the random locations of the NPC spawn to ones within the NPC location.
Rar File Contents:
RandomMoveComposer(App):
Update Application that will run an SQL script on your database
MySQL Devart Library Extensions
200(EudComposer-Aderes)(Spreadsheet):
Spreadsheet for the EudComposer containing cq_action/task/npc and locations
ReadMe:
I have included a console app that will run the SQL script for a local server you will need the following:
I have also included an editble version of this NPC in a spreadsheet most of it's just sum values so all you have to do is change 1 ID and it will change the rest. (highlighted by the gray box).
There are a list of 12 different locations the NPC will randomly move to from time to time you can add more or edit these how ever you wish.
You can turn the spreadsheet into a working SQL by replacing the following (using ctrl+h)
This is pretty much how I code everything makes things much more faster and easier to edit when you come back to it.
If need be I can post a full guide on the concepts of using Excel to code your database edits for EO.
SQL Script
I said I would do this release a few days ago but kept putting it off so here it is.
Release Function:
This release will make the main compose NPC of EO (Market-Aderes) randomly decide to move to locations near him. This should prevent the Auto-Compose Bot that has made some things unfair for other players.
Future Updates:
I will be working on an app that you will assign NPC ID values to which in turn it will assign the random move script to this NPC. There will also be a maintenance app that will change the random locations of the NPC spawn to ones within the NPC location.
Rar File Contents:
RandomMoveComposer(App):
Update Application that will run an SQL script on your database
MySQL Devart Library Extensions
200(EudComposer-Aderes)(Spreadsheet):
Spreadsheet for the EudComposer containing cq_action/task/npc and locations
ReadMe:
I have included a console app that will run the SQL script for a local server you will need the following:
Code:
[B][U]Account[/U][/B] Login: test Password: test Host: 127.0.0.1 [B][U]Database[/U][/B] Name: my [B][U]Tables[/U][/B] name: cq_action cq_task cq_npc
There are a list of 12 different locations the NPC will randomly move to from time to time you can add more or edit these how ever you wish.
You can turn the spreadsheet into a working SQL by replacing the following (using ctrl+h)
Make sure to do it in that order or you can make some problems for yourself.Quote:
[TAB]@' -> '
[TAB]@[TAB] -> ,'
[TAB]$' -> '
[TAB]$[TAB] -> [SPACE]
[TAB]* -> ),
*[TAB] -> (
[TAB] -> ,
This is pretty much how I code everything makes things much more faster and easier to edit when you come back to it.
If need be I can post a full guide on the concepts of using Excel to code your database edits for EO.
SQL Script
Code:
delete from cq_action where id >= 4007360 and id <= 4007382; delete from cq_task where id >= 4007360 and id <= 4007382; delete from cq_npc where id = 200; insert into cq_action values (4007360,4007361,0,101,0,'Hi %user_name what would you like to do?'), (4007361,4007362,0,102,0,'[Compose~Pet] 4007364'), (4007362,4007363,0,104,0,'0 0 0'), (4007363,0,0,120,0,''), (4007364,0,0,1046,37,''), (4007365,4007366,4007370,121,0,'1 3'), (4007366,0,0,122,0,'4007367 4007368 4007369'), (4007367,0,0,122,0,'4007370 4007371 4007372 4007373'), (4007368,0,0,122,0,'4007374 4007375 4007376 4007377'), (4007369,0,0,122,0,'4007378 4007379 4007380 4007381'), (4007370,4007360,4007365,121,0,'2 3'), (4007371,4007360,0,301,200,'1000 315 448'), (4007372,4007360,0,301,200,'1000 316 443'), (4007373,4007360,0,301,200,'1000 312 440'), (4007374,4007360,0,301,200,'1000 320 444'), (4007375,4007360,0,301,200,'1000 323 450'), (4007376,4007360,0,301,200,'1000 319 454'), (4007377,4007360,0,301,200,'1000 313 452'), (4007378,4007360,0,301,200,'1000 317 455'), (4007379,4007360,0,301,200,'1000 320 453'), (4007380,4007360,0,301,200,'1000 309 453'), (4007381,4007360,0,301,200,'1000 312 456'), (4007382,4007360,0,301,200,'1000 316 455'); insert into cq_task (id,id_next) values (4007365,4007365), (4007367,4007367), (4007370,4007370), (4007374,4007374), (4007378,4007378), (4007368,4007368), (4007371,4007371), (4007375,4007375), (4007379,4007379), (4007369,4007369), (4007372,4007372), (4007376,4007376), (4007380,4007380), (4007373,4007373), (4007377,4007377), (4007381,4007381), (4007364,4007364); insert into cq_npc (id,name,type,lookface,mapid,cellx,celly,task0,data2,data3,sort,size_front,size_back,size_left,size_right) values (200,'Composer',29,12040,1000,315,448,4007365,5,5,1,3,3,3,3);