Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 15:36

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

Advertisement



[HELP!!!]Fairy code

Discussion on [HELP!!!]Fairy code within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2011
Posts: 77
Received Thanks: 10
[HELP!!!]Fairy code

I need to repair this fairy code, this need to look this:
When fairy id == 41 then element of character == water(2)
I'm really really bad in programming
Fairies working but when id == 41 element is still 0 (like other fairies)
pls help

Code:
void Fairy(int plrid, std::string id){
		std::string atrybut;
		std::string packet = Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 0 30 " + id);
		for (int i = 0; i < clients; i++)
		{
		if (id[i] == 41);
		Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 " + "2" + " 70 41");
		}
		for (int i = 0; i < clients; i++)
		{
			if (pg[i].Online == 0 && pg[i].Map == pg[plrid].Map)
			{
				for (int i = 0; i < clients; i++) if (pg[i].Online == 0 && pg[i].Map == pg[plrid].Map) send(Connection[i], packet.c_str(), packet.size(), 0);
			}
		}
	}
Kubixiorek is offline  
Old 04/15/2014, 18:49   #2
 
elite*gold: 5
Join Date: Dec 2013
Posts: 683
Received Thanks: 56
#edit sry
but why you look for this
std::string packet = Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 0 30 " + id);
and send this?
Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 " + "2" + " 70 41");
Guiso90 is offline  
Old 04/15/2014, 19:40   #3
 
elite*gold: 0
Join Date: Jun 2011
Posts: 77
Received Thanks: 10
std::string packet = Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 0 30 " + id); == any other fairy, with no element. (0)

Encrypt("pairy 1 " + IntegerToString(pg[plrid].Number) + " 4 " + "2" + " 70 41"); water fairy (id 41) == water element (2)
Kubixiorek is offline  
Reply


Similar Threads Similar Threads
Fairy tail 3D
03/06/2014 - Off Topic - 0 Replies
Hallo leute , ich wollte mal euch fragen , ob es eine Möglichkeit gibt das Spiel: "Fairy Tail 3D" in englisch oder gar deutsch zu spielen. Hier der Link zum Spiel: Fairy Tail 3D ? WebGame PK ??nh nh?t 2013 Mit freundlichen Grüßen.
Add Fairy V18
03/04/2012 - Flyff Private Server - 4 Replies
Hello, I wan't to add Fairy V18 on my pserver, please help me. THX :)
Rope of Fairy
10/06/2007 - Kal Online - 1 Replies
ehm ja... das system an sich ist ncoh ingame ... kann man das irgendwie usen? :P



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


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.