Jump to content

Lighta

Members
  • Posts

    737
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Lighta

  1. What kind of trouble ? are you sure you trigger your condition on status_end ? Didn't get what was the link with val1- val2 etc yet, beside that it's a status I mean.
  2. Lighta

    doubt command

    Doesn't seem like this preven connection on map but to whole server, do you want i to execute it on one map so people can't go there while in maintenance ? If yes I'd put a new mapflag (maintenance) and prevent warping here in pc_set_pos or function similar, then you could still insert a check if someone manage to get in this map to get kicked or warped somewhere else.
  3. Uh this is quite a vague question, will be easier for you to use and IDE an select found usage. Anyway : npc_cashshop_buylist npc_cashshop_buy clif_cashshop_show clif_cashshop_ack clif_parse_cashshop_buy nd->subtype = CASHSHOP (enum) items list : nd->u.shop.shop_item (id and price) amount : nd->u.shop.count
  4. Actually even if I agree new interface are easy (either script commande or @command) they're some who could be revamp, extend etc.. wich imo will benefit dev team and user imo, but that you don't implent. Yes I'm thinking about checkweight update, or merging those getitem getitem2 stuff etc.. What really missing is like a pull request systeme. Addin string manupulation is nice but I'm fearing we'll turn ea langage in a simplified C like.
  5. well with : if (pc_get_group_level(sd)<1)
  6. Lighta

    phpMyAdmin

    Ok quick exemple an debian : 1) Install package (must be sudoer) apt-get install phpmyadmin 2)follow prompt (insert pass etc) 3) make a link for apache cd /var/www ln -s /usr/share/phpmyadmin phpmyadmin 4) try it http://yourhost/phpmyadmin
  7. you also have export option on pvpmyadmin but command line easier and faster (and export was like being zombie for huge db) once you have your .sql, transfert it to the new host and insert it to you new db like that : mysql -u [user] -p[password] [database_name] < [backupfile].sql There was also option to do it all in 1 line command but well would be the same as we do here.
  8. Just like tr0n but switch thing : - War of Emperium - Battleground - difficult gameplay (wanna be like hell !, no @load etc..., hard pvm) - Many Quests Many Instances - Many Events - Fun Quest (farming items ain't that fun)
  9. Fixing eAthena codes and scripts, can't be a milestone imo since it's a way too big definition, that we can't even see the scope properly, is it all tiny script errors ? all db issues ? does this contain eA majs etc... Milestone defined by Error404 like all script regarding episode 14.2 are way more interesting, since there you know where to focus, plan a ETA etc... Anyway I do have faith in you guys even if it seem to slow down a bit thoses days, I don't really get why you halted 3ceam merge (like missing some sorcerer skills/status) or brathena since code more closed to rA. Finally I'd change Error404 milestones for something like that : - Clean the jAthena leftovers from the source and document functions - Implement all 3rd job skills - Fix renewal mechanics yes basically something more Core oriented since the majority of us could fix those items, script errors, etc.. (Don't mistunderstand me here I don't say it's not important but we can deal with it ourself so don't set it as a major achievement) Finally I'd rather the status,skill systeme than the script one, wich is fine imo.
  10. I also have it using Miruku client Vali, still investigating about it.
  11. eA = english athena, since it was japanese at begining
  12. Well sorry to be rude but do you know exactly what update do ?, It's a checkout and a merge attemp wich mean if you have modified line he won't overwrite it if possible, but if those line were change in svn then they enter in conflict and you must fixed them. Now for this situation you update from server base. (./myserver and not ./myserver/src/map like your last sentence may suggest), then fix conflit and customs related. Or you can have another repository ./rathena and merge,compare from there. Or if you don't have modifications, dont care want strickly the new version you can try something like that : svn update --accept theirs-full wich mean whatever is the diff don't ask me and take the svn version. (flush my file and take svn one) hope I help you a bit.
  13. I can try, I dunno where is this but I assume it's when a mob is dead right, your issue here is that you assumed that everyone (every object) that killed a mob had a gmlevel attribute wich ain't the case. To try to be more explicite you have lot of bl_type : bl_mob, bl_pet, bl_hom, and only bl_pc would fit you're case.
  14. do you have a coredump or something ?, anyway jugging by this snippet, I bet your sd probably null something wich cause null pointer exception, (sigfault in C sorry) so try out something like : if(sd && sd->gmlevel ==1).......
  15. I upload your torrent to my ftp to keep a good seed connection, but perhaps you should add on tracker the previous one : http://miruku.rathena.org:80/announce
  16. npctalk " "+strcharinfo(0)+" got my right name!"; Fixed, just look your code color you'll see that string was covering the rest of the code while it shouldn't.
  17. INSERT INTO `login` (userid,user_pass,sex,email,group_id) VALUES ('matrixfox','balls','M','[email protected]',1); fixed, () is to specify wich row we want to fill in value and in wich order. This is an exemple to add a new ig account not mysql user btw
  18. Ok matrixfox sorry if my question seem looking down. Juging from your scenario you didn't confirm user rathena4444 could connect, yest you did all setup but I don't see where you try to connect with yet (that what I was asking). You can try it and change username like JayPee said : mysql -u rathena4444 --password=secretpassword rathena4444_rag #connect to mysql from the user will use to our ragnarok db UPDATE `login` SET userid='desiredusername', user_pass='desiredpassword' WHERE account_id='1'; #change s1/p1 or maybe INSERT INTO`login` ( userid, user_pass, sex ) VALUES ("user", "pass", "S") #add new user user
  19. no it's fine you can have both on same host, it's easier in fact. I just tough from the message that it wasn't the case (since you blank them) Trough console and by this user do you manage to get connected ? e.g: mysql -u myuser --password=mypass mydbname myuser, mypass, mydbname, are the one you set on inter_athena.conf. and since we don't specify host it's on local. If you're mysql it's ok and you missed something on rA. you kept 127.0.0.1 for mysql ip right ?
  20. seem like your mysql server doesn't allow host. Is it remote host or local ? I mean does your eathena server is on same host as mysql server ? I think the configuration error is there.
  21. Kempachi, checkweight was also checking if you have enough slot in inventory for those new items. Assuming your MAX_INVENTORY = 100 and you have 97 items there checkweight(x,5) will return false if x is unstackble, (like 5 shield etc). -It will also check if you reach the max number for it (32k) It's probably possible to do workarround for those too, but well I rather update a command that already do that. But if you think it's rather a mod it's ok I don't mind. @Jonne, what's strange ?
  22. Ok so I was checking a little npc script and I realize we didn't had a proper way to check if we had enought place on storage for more then 1 item. I'll explain by an exemple : let say we have 500 extra weight left; itemx = 5 n1 = 100 ok we have enought place. itemy = 6, n2 = 3 ok we also have enought place. But how to know if we have both ? if(checkwieght(itemx,n1) && checkwieght(itemy,n2)). we can sadly see that this condition wont fit in our case =/ Of course we could solve probably this by fetching both item weight (getiteminfo()) + our courrent weight and compare to our maxweight, but uh sound painfull, plus we won't even know if we still have place in inventory etc... So I tought of upgrading chekweight to read not 1 item but as many as we want. Here my base : http://pastebin.com/TK0dRs3s Yet I'm not fully satisfied, I'd be sweet if instead reading 1 at the time we could send arrays as parameter. Hope it's be usefull.
  23. Shinryo, about size here my little exemple for the exacte same repertory at exact same version same log etc..., maintening both CVS by git svn. Client side : Git : 3150 items, totalling 65.8 MB Svn : 3923 items, totalling 126.9 MB Repo : Git : 13.4mb SVN : 40mb About git/svn : Yes both can do branch you have a little more tool in git but juging from the dev flow it doesn't seem like you have 2 big change in same time so I'll agree Shinryo that there ain't much benefit, but if that help creating branch and that we end-user could do pull request. That may be nice. Other then that well instead "svn up" you'll do some "git pull" that ain't much a probleme and sure they're GUI tool as fancy as tortoise for that so you wont be too lose. In the end it's really an organisational issue for Dev and not much user, so if they fell like merge getting complicated due to too much conflit I'll say give a try but don't put all ressource on it now if you don't need it. Oh little docs for svn user : http://git.or.cz/course/svn.html
×
×
  • Create New...