Jump to content

Kreustoo

Members
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Kreustoo

  1. Version 1.0.0

    301 downloads

    Adding two new table and a script that help you see when the players are connected and how many. -cust_StatPlayerCo checking every hour every day how many player were actually connected. -cust_StatPlayerIpDay checking everyday how many players were actually connected. Compatible with gepard and last_unique_id (enable/disable in OnInit). There's no npc to check that in game currently, only checking in database directly. If people are interested, I could add a npc/a command that make it possible to check directly in game for gm and/or players.
    Free
  2. Hello, Just an idea easier to put in place, jail it and make no trade on the jail map? That way they even can "save there beloved character".
  3. Yes, for a monster giving 1000 exp, instead of giving 109 to 10 players, 10 players will get 1100. But I didn't test it, you should test that before putting on live, i'm mostly guessing with how I understand but there's no test behind
  4. Comment the before this part of the script the : base_exp/=c; job_exp/=c; It'll make everyone get all the exp. So each time a monster is killed it'll give much more exp: *number of the players in the party. + stricly +1% per player on the party with your edit
  5. Ah you mean all receive 1100? If you have 10 players killing a monster giving 1000 exp, basicaly it'll give 100 exp to everybody (1000/10). You want that the monster gives the monsters exp to everyone? 1000 to everyone instead of 100 to everyone? (Then there's the 1% bonus but that's something different) With your edit everyone will get 110 exp instead of 109 if i'm not wrong
  6. That's the point of the sql save, it is saved permantaly in the sql database.
  7. Hello, Let's say 10 player, one monster giving 1000, everybody's gonna get 101 exp (+1%), that's what you want? So a monster at 1000 giving actually 1010? If I'm not wrong, actually the monster at 1000 exp with a bonus of 1% with 10 players will counte as 1090 exp and your edit will make it 1010.
  8. Thanks gidzdlcrz Added 2 new scripts : -One paid full event (with map + sprites) -A news npc
  9. @daLWeeeeelll, maybe it's not obvious but when you're a gm, talk to it again without updating it. I think that's just that? I'll make a patch making that after updating it go to the news part even for gm directly. EDIT: Patch uploaded, 1.2.0 it is
  10. View File News NPC Description A News npc that will let the players read news from the server stocked in sql. It can print colors and show an animated showevent to attract players if there's a new news. Each news is separated in 2, the resume and more. Make a short version of your news and then explain it more. That way you have more chance to spread at least the important part of it to the players. Installation -Run this sql command CREATE TABLE IF NOT EXISTS `z_custom_news` (`id` int(11) NOT NULL AUTO_INCREMENT,`News` text NOT NULL,`Resume` text NOT NULL,`More` text NOT NULL,PRIMARY KEY (`id`)) -Add news -Edit the !!Modify Lines -Check if you want to edit anything in the OnInit. -Load the npc (news.txt) and voila! -The news are sql and to update in game, just make a gm talk to it, no need to reload it each time. Not making it checking each time someone talk to it (or each hour ect) make the npc less ressource consuming, but you can edit it and make the request everytime. Information -It does not make a lot of sql request, it only update when a gm talk to it and chose to update. -It saves the highest news seen and print an event to attract the attention of the player, commenting all the !!Saving Mecanism!! lines removes it. It does not save which one you saw. -You can add color using ^RRGGBB and adding new lines using # (editable) Submitter Kreustoo Submitted 05/15/2020 Category Utilities Video Content Author Kreustoo
  11. Hello, - script LabelEvent -1,{ OnPCBaseLvUpEvent: while(BaseLevel - lastRewarded >= 10){ //lastRewarded to not miss multiple leveling lastRewarded = lastRewarded + 10; Zeny = Zeny + 1000; dispbottom "Congratulation you have reach milestone base level "+(lastRewarded)+", you gained 1000z"+(lastRewarded<90?(", next mile stone is base leve "+(lastRewarded+10)+"."):"."); } } Killed one remover: Not heavily tested
  12. Put your announce just after the first label OnOffPVP:
  13. Kreustoo

    News NPC

    Version 1.2.0

    459 downloads

    Description A News npc that will let the players read news from the server stocked in sql. It can print colors and show an animated showevent to attract players if there's a new news. Each news is separated in 2, the resume and more. Make a short version of your news and then explain it more. That way you have more chance to spread at least the important part of it to the players. Installation -Run this sql command CREATE TABLE IF NOT EXISTS `z_custom_news` ( `id` int(11) NOT NULL AUTO_INCREMENT, `News` text NOT NULL, `Resume` text NOT NULL, `More` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -Add news -Edit the !!Modify Lines -Check if you want to edit anything in the OnInit. -Load the npc (news.txt) and voila! -The news are sql and to update in game, just make a gm talk to it, no need to reload it each time. Not making it checking each time someone talk to it (or each hour ect) make the npc less ressource consuming, but you can edit it and make the request everytime. Information -It does not make a lot of sql request, it only update when a gm talk to it and chose to update. -It saves the highest news seen and print an event to attract the attention of the player, commenting all the !!Saving Mecanism!! lines removes it. It does not save which one you saw. -You can add color using ^RRGGBB and adding new lines using # (editable)
    Free
  14. use the mapflag on the maps of your instance
  15. From the documentation: *warp "<map name>",<x>,<y>{,<char id>}; This command will take the invoking character or <char id>, if specified, to the specified map, and if wanted, specified coordinates too, but these can be random. warp "place",50,55; This would take them to X 50 Y 55 on the map called "place". If your X and Y coordinates land on an unwalkable map square, it will send the warped character to a random place. Same will happen if they are both zero: warp "place",0,0; Notice that while warping people to coordinates 0,0 will normally get them into a random place, it's not certain to always be so. Darned if I know where this is actually coded, it might be that this happens because square 0,0 is unwalkable on all official maps. If you're using custom maps, beware. There are also three special 'map names' you can use. "Random" will warp the player randomly on the current map. "Save" and "SavePoint" will warp the player back to their save point. so just : warp "1@bamq",x,y; close; Is that what you were searching for?
  16. Just a small tip, be carefull with the request you're doing, like doing a lot of select each time you talk to a npc ect. At first it doesn't matter but after some times, if you use it a lot of times, it'll cost. Do as less request as possible (temporary storing table in npc/player var ect).
  17. Hello, conf/groups.conf Inside permissions: view_hpmeter: false For example: { id: 10 name: "Law Enforcement" inherit: ( "Mentor" ) level: 2 commands: { follow: true kick: true jail: true jailfor: true mute: true hide: true warp: true } log_commands: true permissions: { join_chat: true kick_chat: true hide_session: true who_display_aid: false hack_info: true any_warp: true view_hpmeter: false view_equipment: false } },
  18. Kreustoo's Collection I worked on a lot of project and decided to make a proper topic with all my release. You can contact me on discord Kreustoo#4473 even if I'm actually part working with a server but I'm mostly free. I'm going to update this topic with some new content for the following weeks. Free Scripts Sources Modifications Sprites Paid Scripts I'd like to thank rathena for all the work they've done and still doing. A lot of child dream came true thanks to you.
  19. Do they reborn using the official way or custom one? You can remove the job you don't want to have it like Job_Hunter ect. And 98 trans or 99? What about ninja ect?
  20. cash_db, you can just reloaditemdb (and if you use the button on the client, disconnect/reconnect)
  21. Just for information, I don't have a list (and maybe it changed and i'm wrong?) but some info can't be edited whithout restarting like guild name, and editing inventory ect live can make some weird behaviour too.
  22. Hello, Do you have any error trigerring? Try this even if I don't think it'll help? getmapxy(.@map$,.@x,.@y,BL_PC); Does your announce print anything uncommented?
  23. EDIT (Read too fast your post, missed your point) Did you check with notepad++ 607 in db? Maybe it's somewhere and you didn't see it? Sometimes the dumb solutions are the good ones ?
  24. Yeah, even level 1 can get the reward. Anyone below 99 can talk to the npc, anyway: This if ( BaseLevel > .max_base_level || JobLevel > .max_job_level ) { mes "[ ^00FF00Race Up to Max^000000 ]"; mes "We're sorry you are not qualified anymore for this event. Come back being less than "+(.max_base_level+1)+" base level and "+(.max_job_level+1)+" job level."; close; } to this if ( BaseLevel != 98 ) { mes "[ ^00FF00Race Up to Max^000000 ]"; mes "Only level 98 players can get the reward."; close; }
  25. I don't understand what you want: You want anybody at 98 having the reward?
×
×
  • Create New...