Jump to content

Recommended Posts

Posted

Hello Folks, as title said, i 'll help you now, how to made your own spawn protection (Help ful for pvp server)

When some player teleport to some zone, he ll got Skill that no1 can Hit he, and He also cannot use skills (can be change in effect line)

Let's start. i will give you Custom Lines with Generated ID codes.

Go to your /Script/ folder, open skilldata.txt

Go to last line of skills, add this line:

skill_begin	skill_name =[s_spz_pa_dwn]	skill_id = 10731	level = 1	operate_type = A2	magic_level = 1	effect = {{p_block_spell};{p_block_skill_physical};{p_block_getdamage;block_hp};{p_block_getdamage;block_mp};{p_block_buff};{p_block_debuff}}	is_magic = 0	mp_consume2 = 0	cast_range = -1	effective_range = -1	skill_hit_time = 0	skill_cool_time = 0	skill_hit_cancel_time = 0	reuse_delay = 0	activate_rate = 10	lv_bonus_rate = 1	basic_property = men	abnormal_time = 7	abnormal_lv = 3	abnormal_type = silence_physical	attribute = attr_none	effect_point = -10	target_type = target	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 1	ride_state = {@ride_none}	skill_end

(Copy & Paste style), save & done.

Now let's go to skill_pch.txt

go to last line and paste this one line

[s_spz_pa_dwn]	=	2747137

Done & Save.

Now you should go to skill_pch2.txt, last line and paste this one

2747137 -1 0 0 1 -10 34 132 3 0 0 0 -12345

Done & Save.

Go to you'r own areadata.txt (Script folder) and just make lines like this

area_begin name=[imperialTomb00] map_no = {25;15} type=poison target=pc	skill_name=[s_spz_pa_dwn]	skill_prob=100	unit_tick=3	initial_delay = 0	default_status=on range = {{186698;-75916;-2826;-2626};{186700;-75916;-2826;-2626};{186700;-75914;-2826;-2626};{186698;-75914;-2826;-2626}} area_end

 

area_begin name=[NameofYourLocation] map_no = {geo;data zone] type=posion target=pc

then just change x. y, z.

 range = {{186698;-75916;-2826;-2626};{186700;-75916;-2826;-2626};{186700;-75914;-2826;-2626};{186698;-75914;-2826;-2626}

This lines. (Can you can check your location with /loc command, or Target your self, alt + g and put Information button.

 

Links;

GeoData Parts - http://img104.imageshack.us/img104/1215/mapc6wo9.jpg with any problem's post me here.

 

IF i crap smth, i'm sorry. I'd get focus today .

  • 2 months later...
Posted

can u explain why there are 3 different locations for 1 ?

 

range = {{186698;-75916;-2826;-2626};{186700;-75916;-2826;-2626};{186700;-75914;-2826;-2626};{186698;-75914;-2826;-2626}

 

i dont get it + i didnt bring it to work :/

  • 1 month later...
Posted

can u explain why there are 3 different locations for 1 ?

 

range = {{186698;-75916;-2826;-2626};{186700;-75916;-2826;-2626};{186700;-75914;-2826;-2626};{186698;-75914;-2826;-2626}

 

i dont get it + i didnt bring it to work :/

 

There are actually 4..

 

The point is that your making a zone (3 dementions space)

 

point has 3 coordinates + point hight

 

186698;-75916;-2826;-2626

 

x,y,z and z to z1 (z1 point above z)

 

so there you need 4 of this points to create 3 dimentional space =) (with this you make some kind of cube)

 

so in order to make peace zone just for spawn u need to make zone that is 2x2=)

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...
Posted

cool guide for newbie...

and endArt,could u tell me how to make a city pvp zone?i want to create a pvp zone in Giran...

 

Find giran_town_peace in areadata.txt and change type=peace_zone to type=battle_zone

  • 2 weeks later...
Posted

Will these skill be on only when the player is teleporting? Or anyone can use that skill whenever he wants?

IMO,  I think the PK Guards are pretty enough.

Always friendly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • 🔥 GX-EXT H5 🔥   Did you ever think the day would come to leave C4 files behind and start working with a true H5 Core? Well... that moment has arrived. I am proud to present GX-EXT H5, a server fully optimized for maximum performance, designed for serious projects that need stability, efficiency, and a solid base for future development. ✅ 100% optimized for high performance ✅ Already being used on live online servers ✅ Packed with many features you can test yourself ✅ Supports multiple client protocols: 273 / 746 / 166 / 196 ✅ Full AI Compiler included ✅ IBServer (PrimeShop) included ✅ We have complete, 100% working C4/C6/H5 scripts. (With purchase, you can choose between C4/C6, as H5 is shared in the demo version.)     🎁 FULL version available for download The FULL version allows: Up to 50 players online Maximum of 2 hours online time   📥 H5 Client Files https://www.mediafire.com/file/6xrezvhfzmq1j8q/GX-EXT-Cliente-H5-H5.rar/file   📥 H5 Server Files (ready to run) https://www.mediafire.com/file/z5z2027557jvwqv/GX-EXT_L2OFF_H5_H5_MAIN.rar/file   ⚠️ SQL Server is required   💼 For those who want to take their project to the next level, I also offer: FULL SERVER + EXTENDER SOURCES 💰 Price: 1000 USD     If you have any questions, feel free to reply here on the forum, send me a private message, or contact me on Discord: Guytis#6760 Website: https://gx-ext.com   Don't worry about this person, he's the programmer(Skylord) at L2Devs (Mariano Canteros). He only posts negative reviews to try and sell outdated servers.  
    • Small changelog / Release Notes: Resolved ZSTD Error and HTTP 404 download failures. Optimized connection stability by enabling TCP Keep-Alive and optimizing download buffers. Implemented request optimization to prevent anti-DDoS blocks (HTTP 429 Too Many Requests) when fetching high volumes of small files. Unified string types across headers and source files to eliminate ambiguous conversions and improve overall engine stability.
    • There is any chance off adding custom NPCs made by my own? Or fix bugs? Change funcionalities?
    • I plugged my CRM into ultramsg a while back, and it made sending automated WhatsApp updates way smoother without juggling extra tools. The quick QR onboarding was painless, and the fixed monthly cost kept my budget from going off the rails. If you need reliable uptime for customer chats or simple chatbot flows, it’s been a solid pick for me.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..