![]() |
[Sharing] Gamble npc ;)
Well i made this package for you, maybe something good maybe not, maybe useful, maybe useless ^^.
[right:5e9ffe1295]http://img338.imageshack.us/img338/1951/Shot00012.jpg[/right:5e9ffe1295] |
cool tnx soapy :)
|
that is very cool
but I never realize casino can work on recipe script ;-DD I past here code for lazy ass .. I add this to event_human / elf /delf ..etc they are useless it can work with this and noone need client side patch |
Quote:
|
Code:
npc_begin citizen 12260 [event_human] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.4 undying=1 can_be_attacked=0 acquire_sp=4 race=human sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=1000 org_mp=1000 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx4851683855 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=0 collision_radius=8 collision_height=24 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[event_darkelf];{[fnHi] = [gamble_master_01.htm]}} corpse_time=7 no_sleep_mode=0 npc_endCode:
class event_human : merchant_for_cgradeCode:
territory_begin [L2day_ti] {{-84577;243088;-3784;-3584};{-84377;243088;-3784;-3584};{-84377;243288;-3784;-3584};{-84577;243288;-3784;-3584}} territory_end |
btw > anybody have working emotions @ npc? like npc welcome you.. when u click on him..etc? :(
I now think to make casino @ every gatekeeper .. that will be cool.. basic html with 2 choice 1. teleport -> teleport menu 2. casino - > casino menu but dont know if this can work.. dont know how to call for teleport menu @ ai.obj |
Quote:
;) |
thanks SoaPy :)
|
Quote:
You just need to recode the citizen AI, and add a timer for "boring/sleepy" animations. |
SoaPy Your work ?!@#!@# i gave it to entrox how the fuck its your work
|
Quote:
|
i gave the code to entrox before 3 days oh cmon
|
Quote:
|
you could say "here something i've found" or "here something someone gave me"
and i translate the html |
Quote:
|
anyway finito
:) |
wow very nice soapy, heh...
|
ant this is of a stolen ai code demon ?
http://drnagel.dyndns.org/ftp/shot00028.jpg http://drnagel.dyndns.org/ftp/shot00029.jpg http://drnagel.dyndns.org/ftp/shot00030.jpg http://drnagel.dyndns.org/ftp/shot00031.jpg |
gambling
is this just for C3?
|
Dave no, should be implementable on all versions, you just need to find a NPC to be the gambler.
--- And the screens Soapy showed second is a working but not finished version of our new gambling system, will include Jackpot where all "lost adena" gets collected till someone wins it ;) |
gambler
can i create a new npc to be gambler
|
You can create any kind of NPC as a Gambler as long as you use the correct settings...... :|
|
gambler
what are the percentages of winning. and how is it calculated.
|
On the one you can download in this thread, its a simple recipe, success_rate is the chance you have of winning.
|
gambling
is there another one?
|
don't take the hate peopel display on thiss forum, everyoen just wants personal fame. Keep up th sharing, I appreciate it and think it makes a better community, although it doesn't stop the whiners :(
|
Here is the client dat files which I made lastnight and the NPCPOS of the Gambling Manager. As for now the Gambling Manager is in Giran near Alexandria Store. Enjoy Have Fun!!!
Big Thanks to my friend archonus for helping :) Also like to thank soapy for sharing the gamble file. :) This is for NPCPOS Code:
npc_begin [gamble_master] pos={80964;145227;-3528;32768} total=1 respawn=3min npc_endPls. download the npcname-e.dat I have post the bug one which don't show npcname... sorry |
hehe .. boing files :) not entire your work
|
Don't worry about it Soapy, we still appreciate your work. I didn't like the A Grade items being available via gamble but I customized to my needs. It's the idea to make as recipe that's good.
|
gambling
got it installed and it workd great. thnx to those who created and shared. Now if someone could post marriage patch for c2 i would almost be happy
|
I have Mistake:
[php:1:dcf2dad513] 09/27/2005 16:48:xx.xx0, [ObjectDB.cpp][168] undefined (or unregistered) Name[gamble_master] 09/27/2005 16:48:xx.xx3, invalid npc name [gamble_master] at file[NpcSocket.cpp], line[141] [/php:1:dcf2dad513] With С2 all were right, but C3 writes this mistake. AI, npcdata, npc_pch, recipe are 100% |
not added to npc_pch.txt......
|
didnt he say his noc_pch is ok?
nah. anyway, mb u r right... |
I'm sure of it... or else it's his npcpos.txt i had that a few times...
|
I created nps_pch by means of L2ScriptMaker ([gamble_master] = 1014000).
I have deleted it from npcpos, yes when loading no mistake, but when //summon gamble_master server writes this mistake! |
I have solved my problem! But I don't know why it was, I carry line on the first place in npcdata and all have earned! Why this can be?
|
Either everyone is very lucky, or you need to change the success rate.
Quote:
|
Quote:
|
Quote:
_________________ sorry for my English |
Quote:
uh, ouch u're right. |
| All times are GMT. The time now is 16:24. |