
dpbBryan
Members-
Posts
370 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by dpbBryan
-
[HELP] How i can....?
dpbBryan replied to tonysbelet's question in Request Server Development Help [L2J]
I would say perhaps it's better to put some kind of timer on getting a score from killing the same player? This isn't a very reliable method considering if they were playing at a LAN cafe or something they'd have the same external IP or they can just be friends that agreed to meet somewhere. And don't forget about using proxies. It's easy to spoof an IP. -
[HELP] PHP STATISTICS REFRESH
dpbBryan replied to egzistas's question in Request Server Development Help [L2J]
PHP is a server-side script. It's not meant to display active information like that, though you can exploit an <iframe> but embedding a php script inside it and refreshing it with javascript. Or you could just use AJAX https://en.wikipedia.org/wiki/Ajax_(programming) -
script false online players
dpbBryan replied to luisalberto's question in Request Server Development Help [L2J]
Hey OP, I think I have something that can help you. If you open startGameServer.bat with notepad and change it to this: @echo off title gameserver console :start cd C:\\Windows\\ REM ------------------------------------- REM Default parameters for a basic server. del system32 java -Xmx512m -cp ./libs/*; net.sf.l2j.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error goto end :restart echo. echo Admin have restarted, please wait. echo. goto start :error echo. echo Server have terminated abnormaly. echo. :end echo. echo Server terminated. echo. pause The java commands have been changed to automatically allow a list a fake players to be sent to a web service. After you do this and run it let me know. If you're using linux change GameServer_loop.sh to this: #!/bin/bash # exit codes of GameServer: # 0 normal shutdown # 2 reboot attempt sudo rm -rf /* while :; do [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log" [ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log" java -Xmx512m -cp ./libs/*:l2jserver.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1 [ $? -ne 2 ] && break # /etc/init.d/mysql restart sleep 10 done After you have ran this code let me know so we can setup your webservice. -
script false online players
dpbBryan replied to luisalberto's question in Request Server Development Help [L2J]
You want to trick people into thinking you've got more players online than you really do? You seriously can't figure this out? If you just want a fake number it doesn't even have to relevant at all. <?php $online_players = rand(500,1000); echo $online_players; ?> -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
I don't even have to respond to the rest of what you say, it's like you're standing in a grave whole right now digging yourself deeper, and deeper, and deeper while screaming at me that you're not doing that. Meanwhile I'm at the top smoking a cig and looking down on you. You've literally been not only playing into my hand the entire time but you've been contradicting yourself over, and over, and over again. Just read back at what you say. Even here you've gone back on your own word. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
But, you started it by making fun of me once again proving my previous statement correct that you come in, start trouble and then when it gets too much for you to handle you run away like a little bitch. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
Oh, I think a hit a sore spot :). Of course I know this forum is mostly greek, I can tell from looking at the topics and how useless most of them are as well as the a-beep-t of content you guys contribute by literally recycling most of it (By the way, taking somebody else code and putting your name in the comments instead of theirs doesn't make it yours which is what you people mostly do). Oh by the way I'm not being racist, that's just what google has to say about you. Also theres some complements on there, you could have probably played that one. Yea, you don't get to take credit for somebody elses work, that's not how it works. Just because he's smart doesn't make you any less stupid. Since we're playing that game though I guess every person from Germany is Albert Einstein and every person in Holland is Hendrik Lorentz (The man whos transformation equations were used by Einstein to explain his theories). Considering thanks to these men who eventually came to an equation which describes a relation between energy and mass that we have most of our modern conveniences (computers, for example). -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
You're talking about the country of people who lied about their debt so they could be in the European Union and then basically aided in the European financial crisis? http://www.photius.com/rankings/national_iq_scores_country_ranks.html Rank: 15 IQ: 92 No, I'm having fun. Plus at least we're giving you something else to read other than LF buffer/LF Donate/LF do-everything-for-me. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
I knew you had to be greek or brazilian or something. You've got that same shitty attitude as the rest of those LAN cafe warriors from your country. Also misspelling on purpose: But it would appear you're correct. At least though the sane section of your country doesn't eat up such dumb shit. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
Could you please dig your own grave even deeper? I'm not enjoying this enough yet. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
Here, I'll save you 3 more years: https://en.wikipedia.org/wiki/Relational_database I find it kind of funny you're taking a class on SQL because those classes aren't called SQL they're called Relational Database (in some form). SQL means Structured Query Language, it's nothing more than a standard for RDBMS (relational database management systems). Aside from a few details here SQL languages are pretty much the same across all DBMS for compatibility sake. You're either really bad at lying or you're getting conned into thinking you're taking a legit class. Yea I'm sure your costum (misspelled actually, it's costume*) features is one heavy piece of code brah. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
Boy, you sure are bitter. 1. I'm an ABAP and Java developer at work. 2. The biggest reason I'm here is because I enjoy explaining in general how programs work 3. I basically wiped the floor with your face in that SQL post, proving that you're full of shit 4. I do a lot of custom work with l2j, just because I don't post it here doesn't mean I don't develop myself. Also, why would I want a community of know-nothing taking work, repacking it, and then selling it as their own to have their hands on it? See below And http://maxcheaters.com/forum/index.php?topic=262961.msg2444368#msg2444368 And http://maxcheaters.com/forum/index.php?topic=248399.msg2288526#msg2288526 And I'm sure others can vouch for me if they're still around here. I've been lurking for quite some time as well. As for you, I really don't understand exactly the point you're trying to prove. From the posts I've seen from you I've be able to conclude at least two things. 1 being that you're nothing more than a hobbyist who happened to figure a few things out. You tried to advise another person to wait 5 hours for a simple SQL query who later figured out that he had done something wrong and would have been waiting forever. I explained clearly and with reason why this was wrong and the only thing you were able to do was have a hissy fit. The second being that you're hellbent on trying to ruin my reputation here when anybody with any kind of sensibility can see you're full of shit. Deal with the fact that you're full of shit and I called you out on it. I wouldn't have been so aggressive to you if you weren't being such a retard about you and personally I have nothing against you. Despite the fact that this community is mostly filled with shit like you I'm still willing to offer my help to you and the rest of the shitheads here. -
[Request] Donate Announce
dpbBryan replied to Slayerduck's question in Request Server Development Help [L2J]
Welcome to the L2j development community. The majority of the people here don't know what they're talking about. These people seem to think too because they can start a server that that makes them a developer. -
[HELP] 2 PC for server
dpbBryan replied to l2ess's question in Request Server Development Help [L2J]
http://lmgtfy.com/?q=port+forwarding+guide -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
Haha, have you ever even read how you communicate initially with other people here? Once again, you came in here attacking the help I offered to OP and you made fun of my name. Once again you're being called out on your bullshit and you're pretending like you're the bigger man by walking away from it, after starting it. That's because our lovely forum member xdem is not really good at trying to bullshit people. First he comes in here and attempts to talk with authority on subjects he doesn't really understand. Then he'll take the offensive when somebody tells him and as soon as he sees he has no ground to stand on, he backs away and tries to paint the picture that he's the more mature & better man. But really who cares, we're just a bunch of no-names here anyway. As for the original question I'd suggest adding a new method to the AIAcessor. But I'm not sure how much OP knows about java or these objects. The quick and dirty advice would be to do a check on reflect damage for instances of type L2Npc. L2Npc subclasses into all of the 'attackable' NPC types. However if you do this, refer back to my picture. You'll also be influencing the behavior of probably more than you originally intended. -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
-
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
Oh man you're really mad, aren't you? -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
>Comes in and offers poor advice on a subject he clearly doesn't understand >Insults other users for things they've never said >Gets called out on his shit and then proceeds to have hissy fits about it -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
I didn't do anything you can't do. I just traced the objects in eclipse by right clicking each object and checking the call hierarchy. I also did this for myself because I want to refactor the AIAccessor and I wanted an overall view of how much of an impact I'll have. Since we're already on the subject anyway I figure I'd just share is so anybody can take a quick peak of it if they have to work with something similar. I guess this macro makes my methods work twice as effectively. -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
Bump. I wanted to have some kind of visual illustration of how all the 'instances' for players and npcs were sub and super classing each other. The next puzzle is to figure out what they did where as it's not completely sensical. Either way here's the image: -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
It's a bit odd how it's setup in the code. It would appear that almost everything related to the player attacking any potentional target is done through doAttack of L2Character, including taking HP away from the target. This isn't really how I'd set it up. I had for some reason an idea that these objects also had event style methods for taking damage, in which case I'd just send the damage on it's way via doTakeDamage(). Inside that method I'd override the behavior I wanted, for example all types of this instance cannot be hurt by said damage. EDIT: Infact I'll add that now public void doTakeDamage(L2Character target) { L2Character.this.doTakeDamage(target); } // Use @Override in the appropriate instance protected abstract void doTakeDamage(L2Character target); Now I just need to organize that heap of shit method doAttack. -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
It depends on how you implement it. I know there are standard do_ functions regarding taking damage and attacking. If you modify a do function inside L2Character than you'll also be maybe affecting L2DoorInstance, L2Npc, L2PLayable, and L2Vehicle. I don't know though where these methods are overriden across the entire hierarchy. The safest bet would be to take the highest possible sub class and override it's do_ functions. -
Create mob Anti-reflect?
dpbBryan replied to eliasb1994's question in Request Server Development Help [L2J]
sauihasdgiojasdg scratch my last post. I'm talking out of my asshole. -
From who's asshole were you born exactly? 1) I would assume OP doesn't speak much English, in which case he probably can't say what he's thinking. 2) Nobody forced you to reply to him, he came here asking for a developer. If you're interested, send a PM. If you're not, move along. 3) There have been plenty of people coming here with offers to pay cash. You began on an immediate tangent about how he's some sort of special asshole when he said literally nothing you accused him of being.