pwAdmin 1.4.4

Page 4 of 4 FirstFirst 1234
Results 46 to 56 of 56
  1. #46
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: pwAdmin 1.4.4

    I just had to ask, I know some peoples view of "leechers" here, but I also believe there isn't much reason for more than one person (or teams if something big enough) to work on the same thing... Or at least work together on something ya know... Instead of you and I separately trying to do the same thing, just doesn't make much sense to me.

  2. #47

    Re: pwAdmin 1.4.4

    not sure if there is point of releasing it.. the only thing iweb is missing is maybe few addons and account related functions, but you can keep pwAdmin for that, because they are still working with 1.4.4

  3. #48
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: pwAdmin 1.4.4

    Quote Originally Posted by 343 View Post
    I just had to ask, I know some peoples view of "leechers" here, but I also believe there isn't much reason for more than one person (or teams if something big enough) to work on the same thing... Or at least work together on something ya know... Instead of you and I separately trying to do the same thing, just doesn't make much sense to me.
    Well it isn't my software anyway and the original writer from what I can tell would want it to be spread freely like the original so it's only fair I think to carry that on. As for working on the same thing as supra, it might be easier for people to help him fix it if he was to share what he has done so far. :P

    On the other hand though I'm actually looking forward to dabbling into something different and hopefully learning some new tricks along the way.

    @avalanche3 I think there is a point to doing it because I think there is many out there that would prefer pwAdmin to iweb. pwAdmin to me has always had a professional feel to it, I'm not trying to discredit iweb in anyway but iweb to me feels messy and I can be a bit of a neat freak when it comes to web pages. Just a shame the same can't be said for my room haha :D

  4. #49
    Member corujaobr is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    81Posts

    Re: pwAdmin 1.4.4

    please up you pwAdmin ? for all

  5. #50
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: pwAdmin 1.4.4

    Well, seeing as v145 is now 'public' I am having my doubts to this ever being completed. Maybe watch out for one for v145 ... ... ...

  6. #51
    Member corujaobr is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    81Posts

    Re: pwAdmin 1.4.4

    I discovered something very interesting now. when the server is connected can not I import the roles.
    When I try to import the accounts with the server off the pwAdmin works perfectly,
    When I turn on the server pwAdmin not work at all.
    Anyone know why?

  7. #52
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: pwAdmin 1.4.4

    System resources ? What kind of specs on the machine / VM ???

  8. #53
    Proficient Member CULOBG is offline
    MemberRank
    Mar 2011 Join Date
    187Posts

    Re: pwAdmin 1.4.4

    guys i have tryed to make a database with roles i did it this way but dunno why sometimes it bugs and doesnt update as it should :
    Code:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page import="java.util.*"%>
    <%@ page import="com.goldhuman.auth.AuthFilter"%>
    <%@ page import="com.goldhuman.service.interfaces.LogInfo"%>
    <%@ page import="com.goldhuman.service.interfaces.SimpleRoleBean"%>
    <%@ page import="com.goldhuman.service.interfaces.GMService"%>
    <%@ page import="com.goldhuman.service.GMServiceImpl"%>
    <%@ page import="org.apache.commons.logging.LogFactory"%>
    <%@ page import="com.goldhuman.util.LocaleUtil"%>
    <%@ page import="java.sql.*"%>
    <%@page import="java.io.*"%>
    <%@page import="java.sql.*"%>
    <%@page import="protocol.*"%>
    <%@page import="java.text.*"%>
    <%@page import="java.util.Iterator"%>
    <%@page import="com.goldhuman.Common.Octets"%>
    <%@page import="com.goldhuman.IO.Protocol.Rpc.Data.DataVector"%>
    <%@page import="org.apache.commons.lang.StringEscapeUtils"%>
    <%@ page import="com.goldhuman.auth.AuthFilter"%>
    <%@ page import="com.goldhuman.service.interfaces.LogInfo"%>
    <%@ page import="com.goldhuman.service.interfaces.CashInfoBean"%>
    <%@ page import="com.goldhuman.service.interfaces.GMService"%>
    <%@ page import="com.goldhuman.service.GMServiceImpl"%>
    <%@page import="org.apache.commons.logging.LogFactory"%>
    <%@page import="com.goldhuman.util.LocaleUtil"%>
    
    
    
    
    
    <html>
    <head>
    <link href="../include/style.css" rel="stylesheet" type="text/css">
    <title></title>
    </head>
    <body>
    <center>
    <br>
    <%
    int roleid=0;
    RoleBean role=null;
     Connection con = null;  
      PreparedStatement ps = null;
      ResultSet rs = null;
      Statement st =null;
     try {
    /* Create string of connection url within specified format with machine name, 
     port number and database name. Here machine name id localhost and 
     database name is usermaster. */ 
     String connectionURL = "jdbc:mysql://localhost:3306/dbo"; 
    
    // declare a connection by using Connection interface 
    
    
    // Load JBBC driver "com.mysql.jdbc.Driver" 
     Class.forName("com.mysql.jdbc.Driver").newInstance(); 
    
    /* Create a connection by using getConnection() method that takes parameters of 
     string type connection url, user name and password to connect to database. */ 
     con = DriverManager.getConnection(connectionURL, "root","root");
    LogInfo info = null;
    st = con.createStatement() ;
    
    
    st.executeUpdate("DROP TABLE IF EXISTS roles2");
    			st.executeUpdate
    			(
    				"CREATE TABLE roles2(" +
    				"userid int(11) NOT NULL, "+
    				"Roleid int(11) NOT NULL, " +
    				"name varchar(32) NOT NULL, " +
    				"class int(11) NOT NULL, " +
    				"gender int(11) NOT NULL, " +
    				"level int(11) NOT NULL, " +
    				"reputation int(11) NOT NULL, " +
    				"cultivation int(11) NOT NULL, " +
    				"redname int(11) NOT NULL) "+
    				"ENGINE=MYISAM DEFAULT CHARSET=utf8;"
    				
    			);
    
    String queryString="SELECT MAX(id) FROM users";
    rs = st.executeQuery(queryString);
    int maxUserId=0;
    while ( rs.next() )  maxUserId = rs.getInt(1);
    int uid=32;
    while(uid<=maxUserId){
    
    
    GMService gs = new GMServiceImpl();
    info = new LogInfo(uid, "", LocaleUtil.getMessage(request,"role_rolelist_showrolelist"));
    Vector v = gs.getRolelist(uid,info);
    	if (v != null) {
    for (int i = 0; i < v.size(); i++) {
    SimpleRoleBean bean = (SimpleRoleBean) v.get(i);	
    roleid=bean.roleid;
    role = GameDB.get( roleid );
    	session.setAttribute( "gamedb_rolebean", role );
    				
    int updateQuery=0;
    int level=role.status.level;
    String name =role.base.name.getString();
    String Class=""+role.base.cls;
    int sex=(int) role.base.gender;
    int rep=role.status.reputation;
    int culti=role.status.level2;
    int redHours=role.status.invader_time;
    
                  	   
                  ps = con.prepareStatement("INSERT INTO roles2 VALUES (?,?,?,?,?,?,?,?,?)");
    		ps.setInt(1,uid);
                  ps.setInt(2,roleid);
    	       ps.setString(3, name);
    	       ps.setString(4,Class);
                  ps.setInt(5, sex);
                  ps.setInt(6, level);
                  ps.setInt(7, rep);
                  ps.setInt(8, culti);
                  ps.setInt(9, redHours);
                	updateQuery = ps.executeUpdate();
                
         
               
       if (updateQuery != 0) {
     
                  }
    
    
    
    
    }
    }
    uid=uid+16;
    // check weather connection is established or not by isClosed() method 
     }
    }
     catch(Exception ex){
    
     out.println("Unable to connect to database."+ex);
     }
    
    
    boolean success = false;
    try {
    	success = GameDB.update( role );
    	if( success && role.base.id >= 16 && role.base.id < 31 )
    	{   
    		int newroleid = ( 0 == role.base.id % 2 ) ? (role.base.id+1) : (role.base.id-1);
    		role.base.id = newroleid;
    		success = GameDB.update( role );
    			}
    }
    catch (Exception e) { out.println(e.toString()); return; }
    %>
    
    	           <TABLE style="background-color: #E3E4FA;" 
                       WIDTH="100%" border="5" >
    		      <tr><th>Data is inserted successfully 
                        in database.</th></tr>
    		   </table>
    </center>
    </body>
    </html>

  9. #54
    Apprentice wanx is offline
    MemberRank
    Jun 2012 Join Date
    20Posts

    Re: pwAdmin 1.4.4

    Do you have 145 server tools ? I need iweb ...

  10. #55
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: pwAdmin 1.4.4

    Quote Originally Posted by wanx View Post
    Do you have 145 server tools ? I need iweb ...
    This thread has 144 IN the TITLE, so why would you post about 145 in it //OMG

    I did an iWeb release for v145 already, look for it

  11. #56
    Account Upgraded | Title Enabled! Coldwin is offline
    MemberRank
    Dec 2011 Join Date
    347Posts

    Re: pwAdmin 1.4.4

    Every link you put is dead.



Page 4 of 4 FirstFirst 1234

Advertisement