Jump to content
  • 0

[help] BAN list? possible


Question

11 answers to this question

Recommended Posts

  • 0
Posted

i use google chrome to. and here i can find it meby need other internet? leave country come to here and try?

 

Yeah, sure tomorrow I will fly to Netherlands only for try to connect to dragon-network. Stay there I will answer tomorrow !

  • 0
Posted

There is one part related to Java (custom //ban command), and a big part related to PHP.

 

To be simple, when you ban someone ingame, it write his name in a banlist table, with reason etc. PHP read your table "banlist", like it could read your table "heroes" if you had a "heroes" page.

 

----

 

THE FOLLOWING IS JUST A GUIDELINE. YOU HAVE TO MAKE THE IMPROVED COMMAND AND THE PHP PART OBVIOUSLY.

 

It could work with a command like

 

//ban characterName Duration ReasonofBan

 

It's an accurate command which need 3 parameters, but you can cut it to the CharacterName if you got a PHP administration panel (which mean more work for my part lol, so I prefer java).

 

The command kick and ban the guy ofc, but write a SQL command in a banlist table (table you improved/created if no exists).

 

Once you got your registered banned character, you have to code a PHP code in your website (make a page for it like your exemple...) to put in in format.

 

I invite you to search guides on this forum about "show heroes on website" and such things.

 

Dunno if I was rly clear lol, but just don't hope someone make it for you. It's rly not hard, but it asks some time if you want to do a clean thing.

 

I coded this thing myself (except the improved //ban command), so it's possible.

 

-----

 

Some more things :

 

- find the command //ban easily using the powerful "search" from eclipse. It's in admincommandhandlers, or whatever depending of your chronicle.

- search definitively a "heroe" or any guide which pick stats from database to call it on webpage. It's the easiest way to understand.

  • 0
Posted

There is one part related to Java (custom //ban command), and a big part related to PHP.

 

To be simple, when you ban someone ingame, it write his name in a banlist table, with reason etc. PHP read your table "banlist", like it could read your table "heroes" if you had a "heroes" page.

 

----

 

THE FOLLOWING IS JUST A GUIDELINE. YOU HAVE TO MAKE THE IMPROVED COMMAND AND THE PHP PART OBVIOUSLY.

 

It could work with a command like

 

//ban characterName Duration ReasonofBan

 

It's an accurate command which need 3 parameters, but you can cut it to the CharacterName if you got a PHP administration panel (which mean more work for my part lol, so I prefer java).

 

The command kick and ban the guy ofc, but write a SQL command in a banlist table (table you improved/created if no exists).

 

Once you got your registered banned character, you have to code a PHP code in your website (make a page for it like your exemple...) to put in in format.

 

I invite you to search guides on this forum about "show heroes on website" and such things.

 

Dunno if I was rly clear lol, but just don't hope someone make it for you. It's rly not hard, but it asks some time if you want to do a clean thing.

 

I coded this thing myself (except the improved //ban command), so it's possible.

 

-----

 

Some more things :

 

- find the command //ban easily using the powerful "search" from eclipse. It's in admincommandhandlers, or whatever depending of your chronicle.

- search definitively a "heroe" or any guide which pick stats from database to call it on webpage. It's the easiest way to understand.

 

Thank you for help me i will try this one! Thanks!

i use FREYA :)

 

Edit: mm lil to hard for me i will try find already shared meby a website or some one have tuts for it:D:)

if some one knows how edit or create it add me on msn laminota@hotmail.com

  • 0
Posted

As I'm insanely cute today, I will share you the mechanism of mine. Some things you must know :

 

- Do whatever you can/want with this source, I don't give any support, except the short explanation I will do right now.

- Clever people will find it usefull, lazy will find it useless. Your problem seriously lol.

- It's surely not the most optimized way to do it, and I really don't give a fock.

- It's made for IL, so try to adapt it if you need.

- In Epilogue++ you got a punishement system, no idea how far it's advanced.

- I used the veerrryyy old C3 website to make this feature (deutch words in it, I don't even know the translation, just suposed it).

 

First, a picture :

 

sanstitresxr.th.jpg

 

You can see my Navicat stuff, with a table named "site_eg". It's a table I specially created to stock all punishements features. It didn't existed at all before. When you open it you got many columns : id, reason, victim_name, etc.

 

In background, you got the formated result on my homemade/stocked website.

 

Now the source code, you can dl too at this address : http://www.4shared.com/file/NdQUBN_W/eg_online.html

 

		<?php 

			$verbindung=MYSQL_CONNECT($dbhost,$dbuser,$dbpass) or die ("mySQL database have a problem ; please come back later.");
			MYSQL_SELECT_DB($dbname) or die ("mySQL database have a problem ; please come back later.");

			$get_eg="SELECT * FROM site_eg ORDER by id DESC";
			$eg=MYSQL_QUERY($get_eg);

			//Initialisation pour une valeur de départ non null pour rentrer dans la boucle
			$row = "0";

			while ($row != null) 
			{
				$row = mysql_fetch_array($eg);

				if ($row["punishement"] == 1)		$row["punishement"]="Chatban";
				elseif ($row["punishement"] == 2)	$row["punishement"]="Jail";
				elseif ($row["punishement"] == 3)	$row["punishement"]="Delevel";
				elseif ($row["punishement"] == 4)	$row["punishement"]="Decreased enchant";
				elseif ($row["punishement"] == 5)	$row["punishement"]="Character ban";
				elseif ($row["punishement"] == 6)	$row["punishement"]="Account ban";

				if ( $row != null )
				{
					echo "<tr>";
						echo "<td>" .prettydatenews($row["postdate"]). "</td>";
						echo "<td>" .$row["victim_name"]. "</td>";
						echo "<td>".$row["punishement"]. "</td>";
						echo "<td>".$row["time"]. "</td>";
						echo "<td>".$row["reason"]. "</td>";
					echo "</tr>";
				}
			}
			echo "</table>";

			function prettydatenews($uglydate) 
			{
				//  Format de la date (DD-MM-YYYY pour les news de l'accueil).
				return date("d.m.Y", mktime(0,0,0,substr($uglydate, 5, 2),substr($uglydate, 8, 2),substr($uglydate, 0, 4)));
			}
		?>

 

Some explanations : we log to the db, with password W and login Y and we do a SQL request on it : SELECT * FROM site_eg ORDER by id DESC, which means basically : select all the damn data from my table "site_eg" and order it via their "id"

 

After it's a question of format... It creates a table, and do all the shit clean lol. For example, it renames the punishement, which is basically a system of 6 numbers per a "name". Punishement 1 = name1, punishement 2 = name2,...

 

There will have no graphics at all like mine. If you read my sources from the 4shared place, you can see clearly I used headers and footers in php where I do some calls to my .css stylesheet. As I didn't share my whole site (Maxcheaters will rip it in some months perhaps, if my server is launched a day, who know lol), you miss all graphical part, which isn't the issue in your problem, we agree :D.

 

---

 

Basically, it's all for the "read". Now you need the "write" code, aka java commandhandlers heavy modifications :D.

 

 

  • 0
Posted

this what iam looking for!!!!!

 

Very Thanksss really

 

/lock please

solved.

locked.

Guest
This topic is now closed to further replies.


  • Posts

    • The big systems, such as the Olympiad and sieges, are done. Now it’s time to tackle the smaller stuff.   Fishing, pets, striders, lottery, derby, private shops, and macros are ready.   P.S. If anyone has experience launching projects and would like to try launching a project using my client/server, feel free to message me on Telegram and we can discuss it: @artem_lemeshev
    • That's definitely not the reason why they perform wipes.
    • You are right, and most of them meant it when they said it.   Servers wipe because it is the only tool they have left. Something breaks the economy, a duplication bug or an exploited quest or a bad multisell, and the owner cannot tell which items came out of it. When you cannot find the bad items, the only way to clean the world is to delete the world. That is not dishonesty, it is running out of options.   So the answer is not to promise harder. It is to not need the promise: Backups run daily into three places: this machine, an S3 bucket whose key can write and cannot delete, and a computer that is not the server at all.   A restore test runs weekly and actually restores, into a scratch database, comparing every table against production. I ran it before writing this reply: 119 tables, 0 missing, 0 empty, characters back with their coordinates. Binary logging is on with sync_binlog=1 and fourteen days of retention. Every change is on record, so an item can be traced back to what produced it and removed by itself.   That is what makes "fix the bug and remove what it produced" a real option instead of a slogan. What I will not promise is that the server runs forever. If it ever closes, that is an ending, not a wipe, and you would hear it from me first.   Six months is the only proof that counts. Bookmark the thread.
    • I think it happened when I tried adding an ad banner—it turned out to be an ad injector that scattered ads all over the site and cluttered it up. I’ve removed it now; you either visited right when it was active, or it was just leftover residue. It’s gone now (try Ctrl + Shift + R). I’m fixing the responsiveness right now!
    • A brand-new High Five x5 server built for players, not wallets. Only a week old — the perfect time to start. And this Friday we're running a Double XP Comeback Weekend. 🎉 DOUBLE XP COMEBACK WEEKEND — Friday 21 August, 14:00 → Sunday • x2 XP & SP · x2 Adena & drops · FREE full buffs all weekend 📊 RATES • XP / SP: x5 · Adena & drops: boosted · Chronicle: High Five (L2jMobius, retail-based) ✨ QUALITY OF LIFE • Auto-loot for everyone (adena & items straight to inventory; herbs on ground) • Free buffer in the Community Board (Alt+B) • Offline shops • Champion monsters — passive, extra rewards, drop event medals • Premium earned in-game via medals: +20% XP/SP, gold nickname, up to 6 windows • Multibox: 2 windows free, 6 with Premium • Vote rewards (HopZone, TopZone) 🌐 WEBSITE & COMMUNITY • Full web panel, auction house, referral rewards, 2FA, support tickets • Custom auto-updating launcher • Hands-on GM — real-time bug fixes & support • No RMT, no pay-to-win 🔗 Website: https://nolifer.eu · Discord: https://discord.gg/Z9p4pmXFYx
  • 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..