Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Reply
 
Thread Tools Display Modes
Old 01-14-2008, 12:53 AM   #481
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by aardvak2669
PM me
Oook, remember that I'll host it on my computer... So be fast
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 02:04 AM   #482
craiyzee
Initiate
 
craiyzee's Avatar
 
Join Date: Jul 2007
Location: In That Hole Behind You
Posts: 174
craiyzee is on a distinguished road
Default

RRRRRRRRRRAAAAAAWRRRRRRRRRRRRRRR.....

I feel this conversation is getting to boring (or I can't understand it) for me.......
__________________
kaelee
craiyzee no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 04:58 AM   #483
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by craiyzee
RRRRRRRRRRAAAAAAWRRRRRRRRRRRRRRR.....

I feel this conversation is getting to boring (or I can't understand it) for me.......
Hi!!! 4chan is a popular chat for teens... Often used as a good place to send "lusers" (loser + user) in sysadmin talks or as a way to say "Hey, you're a brainless child!"
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 05:22 AM   #484
craiyzee
Initiate
 
craiyzee's Avatar
 
Join Date: Jul 2007
Location: In That Hole Behind You
Posts: 174
craiyzee is on a distinguished road
Default

Quote:
Originally Posted by Xephandor
Hi!!! 4chan is a popular chat for teens... Often used as a good place to send "lusers" (loser + user) in sysadmin talks or as a way to say "Hey, you're a brainless child!"
ah, wiiiiiiiiierd.........
__________________
kaelee
craiyzee no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 05:31 AM   #485
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by craiyzee
ah, wiiiiiiiiierd.........
Indeed. I'm still waiting a response from Piz.
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 07:14 AM   #486
craiyzee
Initiate
 
craiyzee's Avatar
 
Join Date: Jul 2007
Location: In That Hole Behind You
Posts: 174
craiyzee is on a distinguished road
Default

Quote:
Originally Posted by Xephandor
Indeed. I'm still waiting a response from Piz.
Well fine then, I'll just go and sit in the corner until he gets back.
__________________
kaelee
craiyzee no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 07:36 AM   #487
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by craiyzee
Well fine then, I'll just go and sit in the corner until he gets back.
Hey, I didn't want to offend you! Maybe I'm a little bit aggressive, but that's because I'm programming...


Look:

Code:
    public static Vector questData(String id){
        Vector result = new Vector();
        try {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder docbuild = factory.newDocumentBuilder();
            Document doc = docbuild.parse("quests.xml");
            Element root = doc.getDocumentElement();
            NodeList quests = root.getElementsByTagName("quest");
            for(int x=0; x < quests.getLength(); x++){
                Element quest = (Element)quests.item(x);
                if(id.equals(quest.getAttribute("id"))){
                    result.addElement("tag:name");
                    NodeList nombre = quest.getElementsByTagName("nombre");
                    result.addElement(nombre.item(0).getTextContent());
                    result.addElement("tag:description");
                    NodeList descripcion = quest.getElementsByTagName("descripcion");
                    result.addElement(descripcion.item(0).getTextContent());
                    NodeList npcs = quest.getElementsByTagName("npc");
                    result.addElement("tag:npcs");
                    for (int z = 0 ; z < npcs.getLength(); z++){
                        result.addElement(npcs.item(z).getTextContent());
                    }
                    result.addElement("tag:rewards");
                    NodeList recompensas = quest.getElementsByTagName("recompensa");
                    for (int z = 0 ; z < recompensas.getLength(); z++){
                        result.addElement(recompensas.item(z).getTextContent());
                    }
                    
                    
                    break;
                }
            }
            
            
        } catch (SAXException ex) {
            ex.printStackTrace();
        } catch (IOException ex) {
            ex.printStackTrace();
        } catch (ParserConfigurationException ex) {
            ex.printStackTrace();
        }
        return result;
    }
It's totally clear and self explanatory... I think.


Caffeine is killing meeeeee!!!! Too much sugar too...
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 08:54 AM   #488
craiyzee
Initiate
 
craiyzee's Avatar
 
Join Date: Jul 2007
Location: In That Hole Behind You
Posts: 174
craiyzee is on a distinguished road
Default

Quote:
Originally Posted by Xephandor
Hey, I didn't want to offend you! Maybe I'm a little bit aggressive, but that's because I'm programming...


Look:

Code:
    public static Vector questData(String id){
        Vector result = new Vector();
        try {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder docbuild = factory.newDocumentBuilder();
            Document doc = docbuild.parse("quests.xml");
            Element root = doc.getDocumentElement();
            NodeList quests = root.getElementsByTagName("quest");
            for(int x=0; x < quests.getLength(); x++){
                Element quest = (Element)quests.item(x);
                if(id.equals(quest.getAttribute("id"))){
                    result.addElement("tag:name");
                    NodeList nombre = quest.getElementsByTagName("nombre");
                    result.addElement(nombre.item(0).getTextContent());
                    result.addElement("tag:description");
                    NodeList descripcion = quest.getElementsByTagName("descripcion");
                    result.addElement(descripcion.item(0).getTextContent());
                    NodeList npcs = quest.getElementsByTagName("npc");
                    result.addElement("tag:npcs");
                    for (int z = 0 ; z < npcs.getLength(); z++){
                        result.addElement(npcs.item(z).getTextContent());
                    }
                    result.addElement("tag:rewards");
                    NodeList recompensas = quest.getElementsByTagName("recompensa");
                    for (int z = 0 ; z < recompensas.getLength(); z++){
                        result.addElement(recompensas.item(z).getTextContent());
                    }
                    
                    
                    break;
                }
            }
            
            
        } catch (SAXException ex) {
            ex.printStackTrace();
        } catch (IOException ex) {
            ex.printStackTrace();
        } catch (ParserConfigurationException ex) {
            ex.printStackTrace();
        }
        return result;
    }
It's totally clear and self explanatory... I think.


Caffeine is killing meeeeee!!!! Too much sugar too...
Meh, no offense taken

good luck with that.
__________________
kaelee
craiyzee no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 09:47 AM   #489
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by craiyzee
Meh, no offense taken

good luck with that.

Thanks!!! I think I need it...

This is just an example of what the next rolgps is going to be. It handles files in a strange way, but this time the custom points you add to the database won't get ereased when you update the app...
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 01-14-2008, 10:04 AM   #490
craiyzee
Initiate
 
craiyzee's Avatar
 
Join Date: Jul 2007
Location: In That Hole Behind You
Posts: 174
craiyzee is on a distinguished road
Default

Quote:
Originally Posted by Xephandor
Thanks!!! I think I need it...

This is just an example of what the next rolgps is going to be. It handles files in a strange way, but this time the custom points you add to the database won't get ereased when you update the app...
rolgps?

......
do you not remember my Iq?
__________________
kaelee
craiyzee no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved