Register for your free account! | Forgot your password?

You last visited: Today at 15:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Small-Release] Mob regen helper (small)

Discussion on [Small-Release] Mob regen helper (small) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 478
Received Thanks: 790
[Small-Release] Mob regen helper (small)

Huhu, ich fülle gerade einige maps mit Monster voll und da der Map Pointer da nichts funktioniert von Musicinstrutor..

Hab ich eben schnell ne Funktion geschrieben.

HTML Code:
function mob_add_temp_regendata()
	--
	local filename = 'wuste'
	local mob_vnums = number(2340,2346)
	--
	local rr = number(1,2)
	if rr == 1 then
	glob_x = pc.get_local_x() + number(1,3)
	glob_y = pc.get_local_y() + number(1,3)
	else
	glob_x = pc.get_local_x() - number(1,3)
	glob_y = pc.get_local_y() - number(1,3)
	end
	local file = io.output(io.open("locale/"..filename..".txt","a"))
	file:write("\n")
	file:write("m	"..glob_x.."	"..glob_y.."	1	1	0	0	90s	100	1	"..mob_vnums.."")
	file:close()
	--d.spawn(x,y,b)
	--d.spawn_group(x,y,b)
	mob.spawn(mob_vnums, glob_x, glob_y, 10, 1, 1)
	chat("Mob "..mob_vnums.." wurde gespawt auf: "..pc.get_map_index().." "..glob_x.."	"..glob_y.."")
end
Einfach die function in quest eintragen

PHP Code:
mob_add_temp_regendata 
Und bei einem item festlegen..

HTML Code:
when VNUM.use begin
mob_add_temp_regendata()
end
Voila Fertig. Ihr müsst nur die ersten 2 Variablen bearbeiten..
Das sind die, die sich im -- befinden..
Die erstellte Regendatei findet ihr dann im Locale ordner ^^

mfg Zymos

Ich weiss ist nicht das beste, aber es tut seinen zweck ;D
Zymos is offline  
Thanks
7 Users
Old 06/14/2012, 11:10   #2
 
ѕηαρz уσυ.χ's Avatar
 
elite*gold: 320
Join Date: Feb 2011
Posts: 380
Received Thanks: 747
Hey, ich kenn mich mit Quests nicht so gut aus, kannst du dein Release ggf. noch näher erläutern?
Für mich klingt das ähnlich wie der von Mijago. Wäre also lieb, wenn du die praktische Anwendung deines Releases aufzeigst.
ѕηαρz уσυ.χ is offline  
Old 06/14/2012, 11:11   #3

 
LxR'EsoZiaL's Avatar
 
elite*gold: 15
Join Date: Mar 2010
Posts: 4,270
Received Thanks: 2,499
gute Idee
Man kanns auch gut ausbauen wie man es sieht.

Werd ich gebrauchen können, thy
LxR'EsoZiaL is offline  
Old 06/14/2012, 11:21   #4
 
elite*gold: 0
Join Date: Nov 2011
Posts: 478
Received Thanks: 790
Meins ist ähnlich wie seins, nur nicht so extrem ausgebaut.

EDIT:
Hab mal kurzes Video gemacht..


Auf F1 liegt das Item ^^
Zymos is offline  
Thanks
2 Users
Old 06/14/2012, 11:44   #5
 
elite*gold: 91
Join Date: May 2012
Posts: 992
Received Thanks: 454
Du sagst es schon selber Small-Release
Und wozu ist dann dieser Thread?:


#Closerequest - Sammelthread nicht genutzt
Rayack is offline  
Old 06/14/2012, 13:31   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 646
Received Thanks: 165
@Rayackm
Du Intelligenzbestie,es MUSS nicht in den Sammelthread kommen,er kann es sich aussuchen.
Nice Release,ty
1337S9cht1fam3 is offline  
Old 06/14/2012, 14:23   #7
 
PhanToM.LorD's Avatar
 
elite*gold: 29
Join Date: Oct 2010
Posts: 1,185
Received Thanks: 1,471
Cool kann man gut gebrauchen danke
PhanToM.LorD is offline  
Old 06/14/2012, 14:53   #8
 
is3's Avatar
 
elite*gold: 0
Join Date: Jun 2012
Posts: 27
Received Thanks: 4
nice nice und geile rüssi
is3 is offline  
Old 06/15/2012, 13:09   #9
 
elite*gold: 0
Join Date: Jun 2012
Posts: 127
Received Thanks: 66
dank dir ^^
Brigatagraz is offline  
Reply


Similar Threads Similar Threads
Small things for small rewards.
10/10/2011 - CO2 Private Server - 1 Replies
Hey, Coding small things for small rewards. I try to fix up people 5375 sources as I know the entire source inside out(I did work with the base for over 4 months).. A few bugs knows are the: Peace PKMode, PKA, Useless NPCs,
Small release
06/04/2011 - EO PServer Guides & Releases - 5 Replies
Okay this ain't anything that's going to blow your mind but at least i am trying. Anyway this is a dds view it allows you to be able to see the pic of the dds as you look threw your files rather then other photoshop then look for the file you want that way. with this your able to just open up the file containing the dds and the mini icon shows the pic. Just click the link below download the file below and install it. If you like my release please push thanks. Thank you DDS VIEWERS
[Release]Small thing to fix a bug (only if you have it)
05/22/2009 - CO2 PServer Guides & Releases - 2 Replies
so let me explain what 'bug' i'm tallking about...do you know when you can go lvl/hunt with a meele char. and you atk one monster and then you can just stay in same cords/not move and it will keep attacking even if there's no monsters (dead/ran or something XD) it will just keep attacking until you move again...so i found the fix...(i think dunno it works for me XD) ok so its pretty simple if you have the SUPER GEM effect in your server. go to Character.cs and search for if (Attacking)...
Small Release For Points
11/15/2008 - CO2 PServer Guides & Releases - 4 Replies
Hello every one this is pretty noobie release but here goes this release is for Emme's Point cose that he released it is a command that gives u Points Here it is : if (Splitter == "/points") { uint NewPoints = uint.Parse(Splitter); MyChar.Points = NewPoints; ...
A Small Release
06/30/2008 - EO PServer Guides & Releases - 11 Replies
ok guys, this is an excel file to help you with your database, so that you can stop using sql dumps (which are retarded as hell) or your notepad program. I did not include all of the tables just the most important ones. Nicest thing about this is you can just copy the rows and then paste them directly into your database. Keeps all your stuff nice and neat. THIS ORGINALLY WAS NOT MY IDEA. FUNHACKER IS THE ONE THAT TOLD ME ABOUT IT(unlike some i dont steal peoples stuff and then claim it as my...



All times are GMT +1. The time now is 15:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.