Jump to content

Recommended Posts

Posted (edited)

Something else , while adding items and equiping them , these items are stored in database items table right? Isn't that a big waste of memory in long term since fake players aren't even stored on characters table? Also skills,etc. NO idea if I am right.

Edited by Lioy
Posted (edited)
22 minutes ago, Lioy said:

Something else , while adding items and equiping them , these items are stored in database items table right? Isn't that a big waste of memory in long term since fake players aren't even stored on characters table? Also skills,etc. NO idea if I am right.

No it is not a big waste of memory. Databases, especially with those simple schema, don't affect performance unless you reach million marks and even then the queries are very simple.

I could have a cleanup task when the engine starts to delete any items in the db that don't belong in players.

However the long term plan is that the admin should be able to save some bots if he wants in the database and load them on demand or even log in them with and admin password.

Edited by .Elfocrash
Posted (edited)
4 minutes ago, .Elfocrash said:

No it is not a big waste of memory. Databases, especially with those simple schema, don't affect performance unless you reach million marks.

I could have a cleanup task when the engine starts to delete any items in the db that don't belong in players.

However the long term plan is that the admin should be able to save some bots if he wants in the database and load them on demand or even log in them with and admin password.

 

Yea , I just thought that  : Say that reading bot names is from xml or from a database or smth like that , if all are dynamic and not saved bots , some  common problems would occur xD .  For example bot named Elfocrash human fighter , after server restart , bot generator finds this name again , but this time.. Elfocrash dark elf fighter. People will be like " WTF " haha

Edited by Lioy
Posted
Just now, Lioy said:

 

Yea , I just thought that  : Say that reading bot names is from xml or from a database or smth like that , if all are dynamic and not saved bots , some  common problems would occur xD .  For example bot named Elfocrash human fighter , after server restart , bot generator finds this name again , but this time.. Elfocrash dark elf fighter. People will be like " WTF " xD

As I said numerous times, this is not ready for production. It is shared at this point to get anyone interesting in helping to get their hands dirty.

I have thought of all those things.

 

  • Names will be coming from wordlist.
  • There will be some fact checking on how players are named.
  • Buffs will be configurable
  • Skills with probability will be configurable
  • Names will have duplication check
  • Bots will have IQ levels

I would appreciate if rather than pointing out the obvious you did some coding. :) 

Posted
2 minutes ago, .Elfocrash said:

As I said numerous times, this is not ready for production. It is shared at this point to get anyone interesting in helping to get their hands dirty.

I have thought of all those things.

 

  • Names will be coming from wordlist.
  • There will be some fact checking on how players are named.
  • Buffs will be configurable
  • Skills with probability will be configurable
  • Names will have duplication check
  • Bots will have IQ levels

I would appreciate if rather than pointing out the obvious you did some coding. :) 

 

Sure but engine isn't even organized in a way that people could help coding. Even different acis versions are problem.

Posted
Just now, Lioy said:

 

Sure but engine isn't even organized in a way that people could help coding. Even different acis versions are problem.

The engine is insanely organised in a way to help people with coding. You can literally copy parse the whole packet in an acis project, adapt it and share diffs.

I can do the rest. In fact the fact that you were able to run it so easily proves that everyone can do it easily.

Posted

Update

  • Added Titan and Dominator
  • Added self support spells
  • Added spell conditions for self support spells
  • Changed the way consumables work
Posted

The way you handle skills is weird. You shouldn't have to do any hardcoded map there. From learnt based on their attribute you should able to get the skill you want and validate their conditions without using anything else. That would reduce per class AI to generic.

Posted (edited)
1 hour ago, Sdw said:

The way you handle skills is weird. You shouldn't have to do any hardcoded map there. From learnt based on their attribute you should able to get the skill you want and validate their conditions without using anything else. That would reduce per class AI to generic.

I know now it looks weird because it is hard coded and everything has an equal chance of being picked but the plan it that the user can have different skill sets and different probabilities per bot ai and it will also be configurable on a file and not hardcoded. I want them to be per class because I also need some class specific mannerisms (ie archers will move a bit every other shot to give a sense of realist etc).

but yeah I thought about making them generic as well

Edited by .Elfocrash
Posted (edited)
2 hours ago, .Elfocrash said:

I know now it looks weird because it is hard coded and everything has an equal chance of being picked but the plan it that the user can have different skill sets and different probabilities per bot ai and it will also be configurable on a file and not hardcoded. I want them to be per class because I also need some class specific mannerisms (ie archers will move a bit every other shot to give a sense of realist etc).

but yeah I thought about making them generic as well

aCis 372 not work

FakePlayerManager line 174

PlayerInfoTable.getInstance().addPlayer(objectId, accountName, playerName, player.getAccessLevel().getLevel());

 

 

 


WARNING: Bad RequestBypassToServer: java.lang.NullPointerException
java.lang.NullPointerException
    at com.elfocrash.roboto.FakePlayerManager.createRandomFakePlayer(FakePlayerManager.java:174)
    at com.elfocrash.roboto.FakePlayerManager.spawnPlayer(FakePlayerManager.java:73)
    at com.elfocrash.roboto.admincommands.AdminFakePlayers.useAdminCommand(AdminFakePlayers.java:49)
    at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:81)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:50)
    at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:774)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:248)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

дек 02, 2017 2:54:26 PM net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer runImpl
WARNING: Bad RequestBypassToServer: java.lang.NullPointerException
java.lang.NullPointerException
    at com.elfocrash.roboto.FakePlayerManager.createRandomFakePlayer(FakePlayerManager.java:174)
    at com.elfocrash.roboto.FakePlayerManager.spawnPlayer(FakePlayerManager.java:73)
    at com.elfocrash.roboto.admincommands.AdminFakePlayers.useAdminCommand(AdminFakePlayers.java:49)
    at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:81)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:50)
    at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:774)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:248)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
 

 

Edited by katowice
Posted
3 minutes ago, katowice said:

aCis 372 not work

FakePlayerManager line 174

PlayerInfoTable.getInstance().addPlayer(objectId, accountName, playerName, player.getAccessLevel().getLevel());

 

  Reveal hidden contents

 


WARNING: Bad RequestBypassToServer: java.lang.NullPointerException
java.lang.NullPointerException
    at com.elfocrash.roboto.FakePlayerManager.createRandomFakePlayer(FakePlayerManager.java:174)
    at com.elfocrash.roboto.FakePlayerManager.spawnPlayer(FakePlayerManager.java:73)
    at com.elfocrash.roboto.admincommands.AdminFakePlayers.useAdminCommand(AdminFakePlayers.java:49)
    at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:81)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:50)
    at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:774)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:248)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

дек 02, 2017 2:54:26 PM net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer runImpl
WARNING: Bad RequestBypassToServer: java.lang.NullPointerException
java.lang.NullPointerException
    at com.elfocrash.roboto.FakePlayerManager.createRandomFakePlayer(FakePlayerManager.java:174)
    at com.elfocrash.roboto.FakePlayerManager.spawnPlayer(FakePlayerManager.java:73)
    at com.elfocrash.roboto.admincommands.AdminFakePlayers.useAdminCommand(AdminFakePlayers.java:49)
    at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:81)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:50)
    at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:774)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:248)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
 

 

Well you have the stacktrace, check that is null in the lines indicated

Posted
7 minutes ago, .Elfocrash said:

Ну, у вас есть stacktrace, проверьте, что это нулевое значение в указанных строках


 
with java at me it is bad, could not help or assist me.
Posted (edited)
18 minutes ago, katowice said:


 

with java at me it is bad, could not help or assist me.

 

There are two options:

 

1. Hire a developer to do the work for you

2. Sit 2-4 months and learn java from the free source called INTERNET which provided to you by other people who work 24/24h daily for you to have free movies and free videos or tutorials

 

You don't live in the place that others do the work for you anymore. Free things year is over. This guy waste X hour of his life to share something and you people want also literally others to add them in your projects also. 

Edited by GamePsychology

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

    • Provide proofs not providing any kind of proofs i will just issue warnings
    • For the odbc you have to run the Instalador.exe and click crear dsn, but you have to rename them so the lin2clancomm.dsn for example becomes l2c4_lin2clancomm but also check if the file inside has as database value the correct file name, about the client i also wanted a clean client because i had a problem with the monsters because the character didn't have collision with the monsters and he was running through them but i fixed it with files from a normal interlude client, also my client is now c3 😛 i changed the maps, staticmeshes, systextures so now i do not have the fortresses at antharas lair for example but i also have the c3 sounds and login screen. Where is @GX-Ext
    • I really wonder if they launched the server without testing it even once. All players are creating new characters and transferring the level 20 reward to their main ones. It seems banning people is much easier than sending them a direct message in-game. If you can’t do your job properly, get in touch with people who can help you. I made 17 million in 10 minutes on a 1x Adena rate server and got an Icarus weapon. My suggestion to you — as it's written on the character you banned — is to wipe the server and run a proper OBT. Good luck with your time as administrators; although it doesn't look like it will last very long.  
    • all the reports vanished into thin air  
    • 🔥L2 INTERPRIDE - Pride Style  OPENING THIS NOVEMBER! 🔥  ✅ Grand Opening - November 15th! ✅ ❤️ Open Beta - October 08th! ❤️  🩵  The most up-to date client on the market! ▶️  Retail Pride Style Interlude with the new Client! 💡Discord: https://discord.gg/l2interpride 🌍 General Information Client: Interlude Type: Custom PvP Server Rates: High Rates Starting Level: 56 Balanced PvP Environment Unique PvP Enchant System PvP Synergy System: Support Classes earn PvP Score when assisting DDs in kills Toggle Skills → Now Passive Killing Spree: Every 25 kills grants Hero Aura + Hero Skills until death 🐉 Raid Boss System If you are within 1500 radius when a Raid Boss dies, you automatically receive 1 Raid Boss Chest in your inventory! 💫 Join the Battle ⚔️ Experience modern PvP gameplay on a classic Interlude foundation! 🔥 Build your power. Earn glory. Dominate Aden. 🧙 Custom Items Armors: 🛡️ Tier 1: Dread ⚔️ Tier 2: Titanium 👑 Tier 3: Pride Weapons: 🔱 Tier 1: Unique (PvP / PvE) ⚔️ Tier 2: Pride 💀 Tier 3: Abyssal Accessories: Up to 30 custom accessories with unique stats Legendary Dyes: +5 / -2 Belts: Various special stats ⚔️ Custom PvP Skills PvPs Name Color Reward Skill 500 Blue Firework CP Heal +800 1000 Violet Firework Cleanse 1500 Green Blessed Body 2000 Yellow MP Recharge 2500 Light Blue Special Focus 3000 Orange Death Whisper Debuff 3500 Dark Purple Might 4000 Red Empower 4500 Red Increase Weight Debuff 5000 Red Wind Walk 6000 Red Berserker Spirit 7000 Red Recall NPC 🛒 Shops & NPCs Item Store: Up to A/S grade, Potions, Consumables & more Mysterious Merchant: Custom Armors, Weapons, Accessories NPC Buffer: All Buffs + Scheme System Class Master: Free Class Change 🔥 Enchant System Safe Enchant: +7 Max Enchant: +25 Weapon Rate: Custom (higher enchant = lower rate) Armor Rate: Custom (higher enchant = lower rate) Jewel Rate: Custom (higher enchant = lower rate) ⚙️ Rates Experience: x5000 Skill Points: x5000 Drop Rate: x1 Adena: x500 🏆 Events Team vs Team (TvT) Capture the Flag (CTF) Death Match Castle Siege Hunting Grounds URF TvT 💎 Custom Features ALT + Left Click → Remove selected Buff ALT + F → Teleport System Shift + Left Click → View Monster Droplist
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock