Jump to content

nmanpure

Member
  • Content count

    154
  • Joined

  • Last visited

About nmanpure

  • Rank
    Steel Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. nmanpure

    Item Dialogue

    [Edit]Fixed it myself, Google "RSPS 718 Caches skill interfaces fix", Because I'm not going to link to another site.
  2. nmanpure

    Item Dialogue

    Does anyone know how to go upon fixing this? All Dialogues for things like smithing or crafting only show these blue boxes, not the actual items. [ATTACH=CONFIG]10239[/ATTACH]
  3. Does anyone know of a Cache Editor that will work with this Cache? All the ones I have tried cause the client to crash.
  4. Nice release! It works pretty good, only problem I have is there seems to be a bug were the inventory will go blank and lock up. Then you have to restart the client to fix it.
  5. Ok open client.java and find: [code]public void dropItem(int droppedItem, int slot) { [/code] Under neath that add: [code]if(playerName == "zezima") return;[/code]
  6. You're a good programmer, Your also good with RSPS development. You just need to be a little nicer on the forum or all that is going to go to waste. cheers good job with the tutorial.
  7. Nice profile pic. :)>.

  8. How does my convention 'Suck'. It can't suck anything, it doesn't have a mouth.
  9. Well it was more so for my advantage so I could information from the server. Although it is possible to send messages to players.
  10. [CENTER][B][SIZE=5][COLOR="#0000FF"]Java and SMS Gateways.[/COLOR][/SIZE][/B][/CENTER] I don't know if this was ever posted here before, but whatever i don't really care. [B][SIZE=3][SIZE=4][COLOR="#FF0000"]Difficulty[/COLOR][/SIZE][/SIZE][/B]: 4/10 [B][SIZE=4][COLOR="#FF0000"]Requirements:[/COLOR][/SIZE][/B] Visual Basic 2008, JDK, a RSPS. Ok so this is actually very easy. I coded a utility that will allow you to send an email or text message to either you or your players. First of all if you (For some odd reason) don't have visual basic you can download it here (it's 2008 because that's my favorite build): [url]http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express[/url] Ok so create a new project in visual basic (File -> New Project): Name it SMTP. set the opacity of 'form1' to 0 (ZERO). Go to the code view of form1 and put this code: [CODE] Imports System.Net.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Args 0 address all else Is message. Dim address As String = "" 'this is the address to send to for example [email protected] Dim counter As Integer = 0 Try address = My.Application.CommandLineArgs.First() Catch ex As Exception End Try Dim args As String = "" For Each argument As String In My.Application.CommandLineArgs If Not counter = 0 Then args = args & argument & " " End If counter += 1 Next 'Start by creating a mail message object Dim MyMailMessage As New MailMessage() 'From requires an instance of the MailAddress type MyMailMessage.From = New MailAddress("[email protected]") 'To is a collection of MailAddress types MyMailMessage.To.Add(address) MyMailMessage.Subject = "" MyMailMessage.Body = args 'Create the SMTPClient object and specify the SMTP GMail server Dim SMTPServer As New SmtpClient("smtp.gmail.com") SMTPServer.Port = 587 SMTPServer.Credentials = New System.Net.NetworkCredential("[email protected]", "gmail pass") SMTPServer.EnableSsl = True Try SMTPServer.Send(MyMailMessage) 'MessageBox.Show("Email Sent") Application.Exit() Catch ex As SmtpException MessageBox.Show(ex.Message) End Try End Sub End Class [/CODE] Replace "[email protected]" with your gmail account, if you don't have one go to [url]http://www.gmail.com[/url] and create one. Replace "gmail pass" with your gmail password: Don't worry it is safe as this executable will stay server side. Hit F5 or click debug to compile your project, It is best if you do 'file save' first so it does not compile and save to app-data. Now just copy the compiled exe in the debug folder of your project to your server root folder. Create a new java file named 'SMTP.java'. Put this code into the java file: [CODE] import java.io.*; /** * * [MENTION=52317]auth[/MENTION]or Noah */ public class SMTP { public SMTP() { } public void sendText(String number,String Message) throws Exception { Process p = Runtime.getRuntime().exec("SMTP.exe " + number + " " + Message); } } [/CODE] Now to use this you need to call the sendText method from another java file. Open client.java and after: [CODE] public class client extends Player implements Runnable { [/CODE] Add: [CODE] SMTP smtp = new SMTP(); [/CODE] Then you can send a text message to a cell phone when someone logs in (Or were ever you want to, You can use it when a Admin bands someone or really were ever.): [CODE] try{ if(PlayerHandler.getPlayerCount() >= 10){ String online = Integer.toString(PlayerHandler.getPlayerCount()); smtp.sendText("[email protected]",online + " Players Online!"); } }catch(Exception ex) { } [/CODE] This code above will send a text message to my phone (That is obviously not my number) when 10 or more players are logged in. the @vtext.com has to be changed to what ever SMS gateway the receiver's cell phone carrier. @vtext.com is for Verizon. This could also send emails. Hopefully this works for you guys. Please comment me some credits in your code. :).
  11. My friend has this same exact problem, When he tries to recover his RuneScape account the java applet freezes white. If I can fix it I'll post back here.
  12. [quote name='Rich`']1. You're an idiot kid. 2. You're just a mad little kid because you don't understand that adding a simple command that takes you to a page is easy, where making a webclient isn't as easy, therefore making you an idiot. 3. Get the fuck off this thread, or I will have someone make you.[/QUOTE] 1.) You're going to make someone get me off the forum when you are breaking rules your self for cursing. 2.) I made my web client without a tutorial. 3.) When was the last time you re-programmed the packet handler for a rsps? 4.) You mad bro?
  13. I'll help out some, you can check my server if you want. [URL="http://bloddyrunes.no-ip.biz"]http://bloddyrunes.no-ip.biz[/URL]
  14. [quote name='jphptech']000webhost has MYSQL, therefore it should work. You claim to have put your credentials in where they have their username, password, and host. However, you had to of put it in wrong. Post the code for your file, whatever it may be called.[/QUOTE] I think 000webhost refuses connections not made locally because I have tried connections from my server that work on other web hosts, but don't work on 00webhost.
×