PDA

View Full Version : [Share/Help]"Official-Like" Event


BRuTALHiTMAN
04.08.2007, 06:06
Ok here is my first share that actually took me awhile. This stuff isn't THAT hard just tedious for me. I'm doing these little event mods cause I'm learning from them and it's fun ^^. I took the cat locations from the other events to spawn the cats. There's a storyline included that you can post on your website/forums.

Ok so basically here's how this works:
Different colored papers drop from mobs and you trade in papers to the cat for items, kinda like the medal event, but then from a certain time, whatever you set, another NPC spawns that's a "Dark Mage" and trades for better items. I wanted to make this more like SSQ where only one spawns but in different villages each night, but i don't know AI to do this.

The event actually has 2 event npcpos to it to get it working correctly, because of my lack of AI knowledge. To turn the cats on, after every reboot type "//npcpos_event paper_event_cat off". Then to turn the cats off after the event just set this ot off instead of on, and execute the command "//npcpos_event paper_event_cat off" and they will dissapear. Then for the other section this part needs to go in you eventsetting.ini

[event]
eventname=paper_event

eventnpcname=paper_event

flagsettingtime=3000

event_doing=1

dropitem_count=8
dropitem0=paper_black 1
dropitem1=paper_white 2
dropitem2=paper_purple 3
dropitem3=paper_blue 4
dropitem4=paper_green 7
dropitem5=paper_yellow 8
dropitem6=paper_orange 10
dropitem7=paper_red 11

droptime_count=1
droptime0= 2007/8/01-20:0 ~ 2007/8/18-22:00


npctime_count=18
npctime0= 2007/8/03-20:0 ~ 2007/8/03-22:00
npctime1= 2007/8/04-20:0 ~ 2007/8/04-22:00
npctime2= 2007/8/05-20:0 ~ 2007/8/05-22:00
npctime3= 2007/8/06-20:0 ~ 2007/8/06-22:00
npctime4= 2007/8/07-20:0 ~ 2007/8/07-22:00
npctime5= 2007/8/08-20:0 ~ 2007/8/08-22:00
npctime6= 2007/8/09-20:0 ~ 2007/8/09-22:00
npctime7= 2007/8/10-20:0 ~ 2007/8/10-22:00
npctime8= 2007/8/11-20:0 ~ 2007/8/11-22:00
npctime9= 2007/8/12-20:0 ~ 2007/8/12-22:00
npctime10= 2007/8/13-20:0 ~ 2007/8/13-22:00
npctime11= 2007/8/14-20:0 ~ 2007/8/14-22:00
npctime12= 2007/8/15-20:0 ~ 2007/8/15-22:00
npctime13= 2007/8/16-20:0 ~ 2007/8/16-22:00
npctime14= 2007/8/17-20:0 ~ 2007/8/17-22:00
npctime15= 2007/8/18-20:0 ~ 2007/8/18-22:00
npctime16= 2007/8/19-20:0 ~ 2007/8/19-22:00
npctime17= 2007/8/20-20:0 ~ 2007/8/20-22:00

timevariable_count=0

just modify the times to fit your needs. The paper_event NPC's will spawn in all of the towns except for the starter towns.

Credits to Kitiara for writing the story line, RedRobin and Electron for coming up with an items list and the trade values for each, and then i did all the coding

P.S. Forgot the storyline document, re-uploaded

**Updated** 8-17-07

Event should be working now 100% jsut have to manually turn the cats on with the npcpos_event command after every restart!

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
paper event.rar — 10983 байт

AndreyS
04.08.2007, 07:11
Big thanks )

event it is COOL ! everytime )

now - i will test it )

BRuTALHiTMAN
04.08.2007, 07:13
thanks, but like i said, it's not completely working because your client freezes when you talk to the NPC's, i need help figured out why, and no they are not rabbits either, the textures display fine and everything, the AI is just wrong, i don't know how to do it..

bruj0
04.08.2007, 07:17
I think you just need to make a multisell npc just like the gmshops, in there you can set to exchange for items (papers) instead of adena. Search for "gmshop" and you will find manny examplles. Hope this helps you.

AndreyS
04.08.2007, 07:19
thanks, but like i said, it's not completely working because your client freezes when you talk to the NPC's, i need help figured out why, and no they are not rabbits either, the textures display fine and everything, the AI is just wrong, i don't know how to do it..
1. i think don't change client side - and use current "NOT USED NPS" on server )
2. some AI - ... mmm if i have problems with ai - a make empty multisell trade in html ) for event NPC )

BRuTALHiTMAN
04.08.2007, 07:19
yeah if u look in there it's there, i've only found NPC's that are in russian, or just edit the current NPC's, liek the test_server_helper, but i'm going to look again, i have the HTML linking the multisell etc...

RedRobin
04.08.2007, 07:40
Thanks For the credit :) Have fun guys with the event if u cna get it working 100%

Arcia
04.08.2007, 15:05
You prepared the htmls for the NPCs' dialogue, right?

BRuTALHiTMAN
04.08.2007, 17:31
yep, just look at the file, the HTML's are there

HF
04.08.2007, 17:37
I check all officail events. Please tell me what this event you does like "Official-Like" Event" ?

BRuTALHiTMAN
04.08.2007, 17:58
well it's a custom event, but it has the FEEL of an official event, that's why it's called "official-like" event.

Kitiara
06.08.2007, 09:21
Yeah it'd be cool to get this event up and running into the server, if we could figure out what's wrong. =/ it's a pretty sweet event, fairly complex. <33

BRuTALHiTMAN
06.08.2007, 21:53
so can someone help me with the AI on this?

BRuTALHiTMAN
18.08.2007, 20:21
bmup, i fixed this, the NPC's are now working, it was a problem with the HTML, im pretty sure everytthing is working now! everyone try it out and tell me what you think plz!

Charis
19.08.2007, 07:55
Have looked into multisell list.
There is even A grade items. Does it event for PvP server?
How often drops quest items?

PS. Does anybody knows exectly how to set drop chanse of quest items in event.ini?

BRuTALHiTMAN
19.08.2007, 14:47
u cna change the multisell yourlsef if you don't like it. but the numbers next to it say how many monsters must die in x amount of time, where x is the flagsetting in miliseconds, so flagsetting=3000 means 3 seconds. it its very very very hard to get the papers needed to get those items.