Jump to content

dpbBryan

Members
  • Posts

    370
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by dpbBryan

  1. That's hardly an excuse for you to write shit. I should start telling my customers "Oh by the way I'm going to give you a terrible program and you can't comment on it because I told you ahead of time." And as for the secure file, PHP is as secure as you make it. What if you don't set your permissions right? What if you're using windows which'll automatically set it's permissions for you? Server side or not, what do you think happens when you write a post request? PHP files are still read by a seperate executable. Even if you use AJAX or Jquery, you're still going to have to write something server-side. Jquery and AJAX only run off the client machine as a presentation. Your presentation should be seperate from your application.
  2. Not to be a buzz kill but 1) You should use OO and keep everything organized into generic classes. You've mixed the HTML presentation along with PHP functionality. Now it can be difficult to seperate the two incase somebody wanted to have a different implementation. Also if you're talking about involving jquery, I'd say just don't. 2) You send the password plaintext in a plain unsecured post request. http://stackoverflow.com/questions/1008668/how-secure-is-a-http-post 3) You only ask for a username and a password and theres no confirmation. Simple, yes. However somebody could easily make a typing mistake and has no way of confirming it. 4) connect.php, instead of having some kind of secure configuration file the mysql connection information is slapped right in the file. It should be kept in a secure file.
  3. I wouldn't be too concerned with trying to make java work with your hardware. Java code has to be run through a virtual machine first anyway before it starts talking to hardware (or so I believe, correct me if I'm wrong). I highly doubt you will need to touch these values.
  4. You can edit HTML and XML files. If you're using the python scripting, then you can add new quests.
  5. The way I see it, you've got 2 options: 1. Copy and paste the stack trace, error message, something detailed or 2. Figure out a way to give us even a less detailed description of your problem.
  6. ai.individual.Dumb Hahah, ohmysides. http://docstore.mik.ua/orelly/java/fclass/ch13_04.htm This error doesn't pop up in eclipse because it's not a syntax error it's a runtime exception. These are things which can't be predicted by the compiler. As b1ggboss says, post your code for Dumb.
  7. Well when I do use MSN I usually use pidgin or trillian, I can't really stand how cluttered Live feels. What I notice too is a lot of the people here come to really ask for people to do something for them. It doesn't really feel like theres a lot of regulars here. Or at least maybe I'm not around enough to notice it.
  8. I'm pretty sure in the player list, collection, or whatever it's called there should be a function that returns the number of players online. I'll edit this when I get home and see if you haven't found it yourself.
  9. You already have a thread open regarding SQL connections: http://maxcheaters.com/forum/index.php?topic=238229.0 Perhaps theres problems in your configuration. You didn't install your own SQL database did you?
  10. No problem boss! Index: datapack/data/scripts/events/tesouro perdido/TesouroPerdido.java =================================================================== --- /datapack/data/scripts/events/tesouro perdido/TesouroPerdido.java (revision 1035) +++ /datapack/data/scripts/events/tesouro perdido/TesouroPerdido.java (revision 2532) @@ -00,0 +13891,23 @@ /** * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package events.TesouroPerdido; import java.util.List; import java.util.Map; import javolution.util.FastList; import javolution.util.FastMap; import com.l2jfrozen.gameserver.model.entity.Announcements; import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.quest.Quest; import com.l2jfrozen.util.random.Rnd; /** * @author TheOne * @version Over12 - Configurado , e Fixados erros. */ public class WereNotHereToProgramJavaForYou extends Quest { public WereNotHereToProgramJavaForYou() { System.out.println("We're not here to do your work for you"); } }
  11. Oh, I don't have errors. I just wanted to be able to debug what was going on inside. But this is perfect, I kept finding conflicting information on whether the source was avaliable or not. Even on the tickets of that tracker links linking to sources were dead, or changed. But thanks!
  12. What do you mean with an external connection in Navicat? As in you want to query the database through Navicat? I'm assuming you're using PHP, I think even though you think you're typing it right you're not really. Can I see you mysql_connect statement? (Just * out the password)
  13. extends Quest You sure you've got the right object?
  14. I have no idea what you said, but just don't give him anything to drop then.
  15. I think you're going to have to dig around in the java. If you look at the HTM of a villagemaster (whom you can change sub classes at) they have a special bypass: <a action="bypass -h npc_%objectId%_Link villagemaster/SubClass.htm">Sub Class.</a><br> after checking the villagemaster/SubClass.htm file, you'll see the bypass for adding or changing subclasses: <a action="bypass -h npc_%objectId%_Subclass 1">Add Sub-Class.</a><br> What I'm assuming is that the subclasses that are shown to the player are determined based on the ID of the NPC you're asking.
  16. My advice would be to learn java and have a look in L2Spawn, L2NpcInstance, StatSet, and L2NpcTemplate. I'm not sure if something already exists but I'd create a manager class that contains a Map of Point3D's which contain all the possible spawn locations for this mob. Then just generate a random number every 5 or 10 or whatever minutes and then spawn something. You'd have to link into the AreaTable or Area Repository (whatever you call it) to get the location of the spawn. Then just do an output to L2.
  17. Hey Everybody, I'm trying to debug the client packets being sent by the bypass requests (net.sf.l2j.gameserver.clientpackets.RequestBypassToServer). It starts in L2GamePacketHandler.java at case 0x21: msg = new RequestBypassToServer(); and that msg is returned by the method handlePacket();. However when I try to trace where this message is actually going further, I'm brought to the SelectorThread object in mmocore and the source isn't found. I've tried adding the mmocore.jar in the /lib/ folder as the source location. However I also read after searching that this part of l2j is closed source. Is this avaliable and does anybody have it?
  18. This is a server issue, not client.
  19. Thanks Tassadar! The only issue now is all the text is in Russian. Does anybody here have an idea which file contains these values? EDiT: Ow -beep-, everything is Russian. EDIT EDIT: found an english system from this server http://www.l2nemesis.com.ar/ When I get some time I'll clean it up for everybody else
  20. Are you using a multiclient messenger or the normal windows live thing? It would be nice for everybody to use something a bit more friendly than IRC.
  21. You didn't read my post. I've tried those links already but they're down/dead.
  22. Hey Everybody, I've been digging around for a few days trying to find where I can retrieve some old C4 files. I've managed to find the Vista patch (Core.dll) digging around C4 private servers and grabbing their patch. And even after more poking around I can't seem to come across the resources I need. 1) Disable GG: The links that is inside the sticky in the head forum for client modifications for C4 files are down. Also checking fyyre's the GG disablers don't go earlier than Interlude. 2) C4 FileEdit The link that is inside the sticky is down. The other links I've come across were from megaupload which has been siezed by the US goverment. 3) Patched System The link in the sticky seemed to function but I'm having connection issues with the site I can't seem to get around. Does everybody have this problem? (I guess I could do this myself though). If you guys perhaps know of alternative sources where I could acquire these things (if they still exist) I'd be most grateful. Thanks for your time and reading!
  23. I'm pretty sure everybody here is getting trolled.
  24. I'm back in. I've been busy with work and personal stuff so I haven't been around. But yea, It was worth a try but I guess IRC doesn't really catch on this day in age.
  25. That's XML. It's like HTML everything is contained inside "tags". At the end of the file you need </zone> to close the <zone id=blahblah>. Also each node you have is a point inside the game world. I think you can get it by standing on a certain point in the game and type /loc, or //loc or something.
×
×
  • 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