Jump to content
  • 0
Vy Low

[request] @maintenance Command?

Question

35 answers to this question

Recommended Posts

  • 0

i see, im getting insight on how it works now. thank you AnnieRuru for lighten my mind on this kind of stuff Thumbs up!

 

:D 20%

 

got my signature already XD

Edited by Luffy

Share this post


Link to post
Share on other sites
  • 0

@Annieruru - If I'm not mistaken, the part that shows Maintenance is set in the config files. So couldn't you just add a check for a variable change? I'd suggest ifdef but, don't think that apply here.

Share this post


Link to post
Share on other sites
  • 0

 

more fans are coming!

where is the fan base, i have to be registered asap

ahahahaha..

 

I + 1 u for this.. lol

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

you mean login_config.min_group_id_to_connect ?

this value is defined in srcloginlogin.h, and currently plugin not able to read anything outside srcmap folder

so I'm not going to use that

 

 

 

btw ... I pull back the statement saying this is a simple mod

when imagine in theory, I pictured it just about 3 functions and 1 sql table

but when try it out ... there seems to have a lot of limitations ...

 

none the less, I still can get this done, just take longer time

 

@others

I used to have AnnieRuru fan club back in 2008

but it was dissolved when ToastofDoom and Nymphycus joined scripting moderator in eathena ( not to mentioned Keyworld too )

so now its no more ... LOL

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

Lol, @ the fan club xD. But I guess that means I'm the last remaining " member ". At anyrate, yeah, that's what I meant when I was making the suggestion. I didn't know it was limited to src/map.

Share this post


Link to post
Share on other sites
  • 0

@others

I used to have AnnieRuru fan club back in 2008

but it was dissolved when ToastofDoom and Nymphycus joined scripting moderator in eathena ( not to mentioned Keyworld too )

so now its no more ... LOL

 

off topic and have to stop here.. let me be the last *peace*

 

you should re-open it maam and please let me in need to learn more how and why thit that :lol: :wub:

Share this post


Link to post
Share on other sites
  • 0

its been 2 days and still just 70% complete

and the script is getting too large, so I need to save this here to create as a backup

 

 

http://upaste.me/9b7fdd

 

create table maintenance (id int(11) primary key auto_increment,account_id int(11),name varchar(23),reason varchar(99),minlv2connect tinyint(4),order_time datetime,start_time datetime,end_time datetime) engine = archive;
.

.

still have *maintenance script command, and convert into plugin

 

feel free to try and report any bug

Share this post


Link to post
Share on other sites
  • 0

Error With the SQL:

[Window Title]

Error

 

[Content]

SQL Error (1164): The used table type doesn't support AUTO_INCREMENT columns

 

[OK]


 

 

as I was adding the diff lol I'm surprised your plan with this command is very advanced :)

 

Some error return on Chrif.c

1>c:usersasusdesktopherc_localsrcmapchrif.c(501): error C2059: syntax error : 'if'

1>c:usersasusdesktopherc_localsrcmapchrif.c(503): error C2059: syntax error : 'else'

1>c:usersasusdesktopherc_localsrcmapchrif.c(539): error C2059: syntax error : 'if'

1>c:usersasusdesktopherc_localsrcmapchrif.c(547): error C2059: syntax error : 'else'

Edited by AnnieRuru
merge post

Share this post


Link to post
Share on other sites
  • 0

huh ? since when archive type table couldn't support auto_increment ?

I still using MySQL 5.1 ... maybe

change 'engine = archive' into 'engine = innodb'

 

and what's on the line 501,503,539,547 ?

maybe copy paste my code in {code} tag then comment on the line number

 

if (1) // line501

 

http://upaste.me/4aea36

create table maintenance (id int(11) primary key auto_increment,account_id int(11),name varchar(23),reason varchar(99),minlv2connect tinyint(4),order_time datetime,start_time datetime,end_time datetime) engine = innodb;

finished the script command, now start converting ...

Share this post


Link to post
Share on other sites
  • 0

probably because I'm using rAsql lol :blush:

----

Just tested it well what can I say.. for a free version this is awesome everything you need is added.  :wub:

Your work is amazing AnnieRuru  :wub:

 

screenChaos026_zps83572a55.jpg

Edited by THPO

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.