473,769 Members | 5,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

perl script not working. help please.

5 New Member
im trying to make a perl file that will take all the info from a spell_us.txt file and place it into an sql file i can import into my database but its not working can anyone help please?

Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl -w
  2. #
  3. # Imports spells from spell_us.txt to spell table, as described in the config below
  4.  
  5. $spellfile="spells_us.txt";
  6. $sqlspellfile="allspells.sql";
  7. $tbspells = "spells";
  8. #
  9.   open FS,"> $sqlspellfile";
  10. #
  11. print "\nLoading spells from $spellfile... ";
  12. @ids=`$spellfile`;
  13. print "done";
  14. #
  15. print "\nUploading spells to the file... \n";
  16.  
  17. $cpt=0;
  18. foreach (@ids) {
  19.   $_ =~ s/\"/\"/g;
  20.   @i=split(/\^/,$_);
  21.   if ($i[0]>0) {
  22.     $cpt++;
  23.     $query="INSERT INTO $tbspells ".
  24.             "SET spellid=".$i[0].
  25.                 ",name=\"".$i[1].
  26.                 "\",castonyou=\"".$i[6].
  27.                 "\",castonother=\"".$i[7].
  28.                 "\",fading=\"".$i[8].
  29.                 "\",range=".($i[9]!=""?$i[9]:0).
  30.                 ",aoerange=".($i[10]!=""?$i[10]:0).
  31.                 ",casttime=".($i[13]!=""?$i[13]:0).
  32.                 ",recoverytime=".($i[14]!=""?$i[14]:0).
  33.                 ",recasttime=".($i[15]!=""?$i[15]:0).
  34.                 ",buffformula=".($i[16]!=""?$i[16]:0).
  35.                 ",buffduration=".($i[17]!=""?$i[17]:0).
  36.                 ",aoeduration=".($i[18]!=""?$i[18]:0).
  37.                 ",targettype=".($i[98]!=""?$i[98]:0).
  38.                 ",skill=".($i[100]!=""?$i[100]:0).
  39.                 ",timeofday=".($i[103]!=""?$i[103]:0).
  40.                 ",mana=".($i[19]!=""?$i[19]:0);
  41.  
  42.     # formulas
  43.     for ($n=1; $n<=12; $n++) { $query=$query.
  44.                 ",buff$n=".($i[85+$n]!=""?$i[85+$n]:0).
  45.                 ",buff".$n."val=".($i[19+$n]!=""?$i[19+$n]:0).
  46.                 ",buff".$n."max=".($i[43+$n]!=""?$i[43+$n]:0).
  47.                 ",buff".$n."form=".($i[69+$n]!=""?$i[69+$n]:0); }
  48.  
  49.     # lvls per class
  50.     for ($n=1; $n<=16; $n++) { $query=$query.",level$n=".$i[103+$n]; }
  51.     for ($n=1; $n<=4; $n++) { 
  52.       $query=$query.
  53.              ",regent".$n."_id=".($i[57+$n]!=""?$i[57+$n]:0).
  54.              ",regent".$n."_count=".($i[61+$n]!=""?$i[61+$n]:0);
  55.     }
  56.  
  57.  
  58.       print FS $query.";\n";
  59.   }
  60.   if ($cpt%100==0) { print "\n$cpt spells uploaded..."; }
  61. }
  62. print "\n\n";
  63.  
  64. close FS;
  65. print "done, spells table full\n\n";
  66.  
it just say Loading spells from spells_us.txt.. . and just sits there i even tried cutting out most the spells just to see if it was just taking along time to read but nothing it just sits there and does nothing if i close the spell file that opens then it says the rest of the text like it finished but did not fill the sql file.

the spell_us.txt file looks like this

Expand|Select|Wrap|Line Numbers
  1. 0^^BLUE_TRAIL^^^^^^^^^0^0^0^0^0^7^65^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^0^0^0^254^254^254^254^254^254^254^254^254^254^254^254^2^0^52^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^0^0^-150^0^0^0^0^0^0^0^0^^^^0^0^0^0^100^0^0^0^0^0^0^0^0^0^0^0^^0^-150^100^-150^-99^7^65^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  2. 3^Summon Corpse^PLAYER_1^^^^^^^10000^^0^0^5000^2250^12000^0^0^0^700^70^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2512^2106^17355^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^91^254^254^254^254^254^254^254^254^254^254^254^6^20^14^-1^0^0^255^255^255^255^51^255^255^255^255^255^35^255^255^255^255^255^43^^0^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^109^307^0^0^0^0^0^0^0^0^0^3^125^64^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^49^52^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  3. 4^Summon Waterstone^PLAYER_1^^^^^^^0^^0^0^4000^2250^2250^0^0^0^40^10342^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2512^2106^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^109^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^32^254^254^254^254^254^254^254^254^254^254^254^6^25^14^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^17^255^255^255^43^^0^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^37^305^0^0^0^1^0^0^0^0^0^4^18^109^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^20^61^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  4. 5^Cloak^PLAYER_1^^^^^ shimmers.^^100^^0^0^5000^2250^0^3^200^0^50^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2502^2115^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^90^254^254^254^254^254^254^254^254^254^254^254^14^25^18^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^42^^0^9^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^19^95^0^0^0^0^0^0^0^0^0^0^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^-99^3^200^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  5. 6^Ignite Blood^PLAYER_1^^^^Your blood ignites.^'s blood ignites.^Your blood cools.^200^^0^0^3000^2500^2250^1^7^0^218^-30^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^125^0^0^0^0^0^0^0^0^0^0^0^2503^2119^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^103^100^100^100^100^100^100^100^100^100^100^100^0^0^0^2^0^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^61^255^255^255^255^255^47^255^255^255^255^255^44^13^0^20^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^51^268^0^-100^0^1^0^0^0^0^0^6^20^38^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-142^133^-157^129^1^21^0^0^0^0^2^106^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  6. 7^Hymn of Restoration^PLAYER_1^^^^Your wounds begin to heal.^^Your wounds stop healing.^0^30^0^0^3000^0^0^5^3^0^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2510^2007^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^110^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^41^15^49^-1^0^0^255^255^255^255^255^255^255^6^255^255^255^255^255^255^255^255^40^^0^6^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^99^223^0^0^0^1^0^0^0^0^1^7^79^43^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^13^25^5^3^0^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  7. 8^Cleanse^PLAYER_1^^^^You feel cleansed.^^^0^^0^0^0^0^0^0^0^0^0^-1^-1^5^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^36^35^0^254^254^254^254^254^254^254^254^254^6^0^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^43^^0^50^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^97^0^0^0^0^0^0^0^0^0^8^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^-99^0^0^0^0^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  8. 9^Superior Healing^PLAYER_1^^^^You feel much better.^ feels much better.^^100^^0^0^3500^2500^2250^0^0^0^185^200^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^600^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^10^0^0^0^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^30^57^255^255^51^255^255^255^51^255^255^255^255^255^255^43^0^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^99^278^0^0^0^1^0^0^0^0^0^9^42^42^^0^0^0^0^100^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^47^20^0^0^0^0^0^0^5^583^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  9. 10^Augmentation^PLAYER_1^^^^You feel your body pulse with energy.^'s body pulses with energy.^The pulsing energy fades.^100^^0^0^5000^2250^2250^3^270^0^90^115^5^5^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^128^30^30^0^100^0^0^0^0^0^0^0^2518^2124^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^109^101^101^100^203^100^100^100^100^100^100^100^0^1^0^0^11^6^1^10^148^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^28^255^255^43^^0^7^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^134^211^0^0^0^1^0^0^0^0^0^10^125^41^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^24^202^3^270^0^0^0^0^3^230^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  10. 11^Holy Armor^PLAYER_1^^^^You feel the favor of the gods upon you.^ feels the favor of the gods upon them.^You no longer feel blessed.^100^^0^0^2000^2250^2250^3^270^0^20^0^0^0^15^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^20^0^0^0^0^0^0^0^0^2511^2056^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^102^100^100^100^100^100^100^100^100^0^1^0^0^10^10^10^1^254^254^254^254^254^254^254^254^5^25^4^-1^0^0^255^1^15^255^255^255^255^255^255^255^255^255^255^255^255^255^42^^0^2^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^151^313^0^0^0^1^0^0^0^0^0^11^95^6^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^12^32^3^270^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  11. 12^Healing^PLAYER_1^^^^You feel much better.^ feels much better.^^100^^0^0^2500^2500^2250^0^0^0^65^95^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^175^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^4^0^0^0^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^10^27^38^255^19^255^255^255^19^255^255^255^255^36^255^43^^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^99^278^0^0^0^1^0^0^0^0^0^12^42^42^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^17^20^0^0^0^0^0^0^5^100^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  12. 13^Complete Healing^PLAYER_1^^^^You are completely healed.^ is completely healed.^^100^^0^0^10000^2500^2250^0^0^0^400^7500^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^0^0^0^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^5^15^5^-1^0^0^255^39^255^255^255^255^255^255^255^255^255^255^255^255^255^255^43^^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^99^278^0^0^0^1^0^0^0^0^0^13^42^42^^0^0^^0^0^0^0^0^0^0^0^0^0^^0^0^0^0^5^101^49^20^0^0^0^0^0^0^5^7500^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  13. 14^Strike^PLAYER_1^^^^You have been struck.^ is struck.^^200^^0.5^0^1500^2500^2250^0^0^0^7^-8^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^10^0^0^0^0^0^0^0^0^0^0^0^2503^2119^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^101^0^0^0^100^100^100^100^100^100^100^100^0^0^0^1^0^254^254^254^254^254^254^254^254^254^254^254^5^25^24^-1^0^0^255^1^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^25^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^206^0^0^0^1^0^0^0^0^0^14^25^58^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^39^1^0^0^0^0^0^0^2^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  14. 15^Greater Healing^PLAYER_1^^^^You feel much better.^ feels much better.^^100^^0^0^3000^2500^2250^0^0^0^115^140^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^350^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^7^0^0^0^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^20^36^57^255^29^255^255^255^29^255^255^255^255^57^255^43^^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^99^278^0^0^0^1^0^0^0^0^0^15^42^42^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^22^20^0^0^0^0^0^0^5^300^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  15. 16^Smite^PLAYER_1^^^^You have been smitten.^ has been smitten.^^200^^1^0^2500^2500^2250^0^0^0^43^-60^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^88^0^0^0^0^0^0^0^0^0^0^0^2503^2119^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^102^100^100^100^100^100^100^100^100^100^100^100^0^0^0^1^0^254^254^254^254^254^254^254^254^254^254^254^5^25^24^-1^0^0^255^14^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^13^0^25^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^206^0^0^0^1^0^0^0^0^0^16^25^58^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^33^1^0^0^0^0^0^0^2^3^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  16. 17^Light Healing^PLAYER_1^^^^You feel better.^ feels better.^^100^^0^0^2000^2500^2250^0^0^0^28^35^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^65^0^0^0^0^0^0^0^0^0^0^0^2510^2051^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^3^0^0^0^100^100^100^100^100^100^100^100^0^1^0^0^0^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^4^12^21^255^9^255^255^255^9^255^255^255^255^20^255^43^^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^99^278^0^0^0^1^0^0^0^0^0^17^42^42^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^12^20^0^0^0^0^0^0^5^33^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  17. 18^Guard^PLAYER_1^^^^You feel the favor of the gods upon you.^ feels the favor of the gods upon them.^You no longer feel blessed.^100^^0^0^3000^2250^2250^3^450^0^80^0^0^0^31^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^65^0^0^0^0^0^0^0^0^2511^2056^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^102^100^100^100^100^100^100^100^100^0^1^0^0^10^10^10^1^254^254^254^254^254^254^254^254^5^25^4^-1^0^0^255^25^39^255^255^255^255^255^255^255^255^255^255^255^255^255^42^^0^2^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^151^313^0^0^0^1^0^0^0^0^0^18^95^6^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^24^32^3^450^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  18. 19^Armor of Faith^PLAYER_1^^^^You feel the favor of the gods upon you.^ feels the favor of the gods upon them.^You no longer feel blessed.^100^^0^0^6000^2250^2250^3^630^0^150^0^0^0^41^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^85^0^0^0^0^0^0^0^0^2511^2056^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^102^100^100^100^100^100^100^100^100^0^1^0^0^10^10^10^1^254^254^254^254^254^254^254^254^5^15^4^-1^0^0^255^35^48^255^255^255^255^255^255^255^255^255^255^255^255^255^42^^0^2^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^151^313^0^0^0^1^0^0^0^0^0^19^95^6^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^49^32^3^630^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  19. 20^Shield of Words^PLAYER_1^^^^You feel the favor of the gods upon you.^ feels the favor of the gods upon them.^You no longer feel blessed.^100^^0^0^8000^2250^2250^3^720^0^300^0^0^0^105^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2511^2056^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^10^10^10^1^254^254^254^254^254^254^254^254^5^0^4^-1^0^0^255^45^60^255^255^255^255^255^255^255^255^255^255^255^255^255^42^^0^2^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^151^313^0^0^0^1^0^0^0^0^0^20^95^6^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-42^133^-57^32^3^720^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  20. 21^Berserker Strength^PLAYER_1^^^^Your muscles bulge with berserker strength.^'s muscles bulge with berserker strength.^You feel your agility return.^100^^0^0^3000^2250^8000^7^30^0^45^10^20^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^25^0^-15^0^0^0^0^0^0^0^0^0^2518^2124^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^101^101^101^100^100^100^100^100^100^100^100^100^0^1^0^0^4^55^6^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^19^255^255^43^^0^7^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^6^219^0^0^0^1^0^0^0^0^0^21^95^96^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^20^73^7^30^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  21. 22^Force Snap^PLAYER_1^^^^You have been force struck.^ has been force struck.^^200^^1^0^2500^2500^13000^0^0^0^69^-150^1000^0^0^0^0^0^0^0^0^0^0^0^500^0^0^0^0^0^0^0^0^0^0^252^0^0^0^0^0^0^0^0^0^0^0^2503^2119^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^105^100^100^100^100^100^100^100^100^100^100^100^0^0^0^1^0^21^254^254^254^254^254^254^254^254^254^254^5^25^24^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^17^255^255^255^255^44^13^0^25^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^202^0^0^0^1^0^1^0^0^0^22^25^58^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^30^1^0^0^0^0^0^0^2^11^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  22. 23^Force Strike^PLAYER_1^^^^You have been force struck.^ has been force struck.^^200^^1^0^4000^2500^12000^0^0^0^200^-325^1000^0^0^0^0^0^0^0^0^0^0^0^500^0^0^0^0^0^0^0^0^0^0^625^0^0^0^0^0^0^0^0^0^0^0^2503^2119^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^5^100^100^100^100^100^100^100^100^100^100^100^0^0^0^1^0^21^254^254^254^254^254^254^254^254^254^254^5^5^24^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^41^255^255^255^255^44^13^0^25^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^202^0^0^0^1^0^1^0^0^0^23^25^58^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^133^-2^1^0^0^0^0^0^0^2^44^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  23. 24^Strip Enchantment^PLAYER_1^^^^You feel very dispelled.^ feels very dispelled.^^200^^0^0^3500^2250^5000^0^0^0^70^1^1^1^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2521^2122^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^1^27^27^27^27^254^254^254^254^254^254^254^254^5^25^4^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^22^255^255^42^^0^14^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^32^228^0^0^0^1^0^0^0^0^0^24^126^31^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^22^97^0^0^0^0^0^0^8^1^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  24. 25^Pillage Enchantment^PLAYER_1^^^^You feel very dispelled.^ feels very dispelled.^^200^^0^0^3500^2250^5000^0^0^0^70^4^4^4^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2521^2122^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^1^27^27^27^27^254^254^254^254^254^254^254^254^5^5^4^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^42^255^255^42^^0^14^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^32^228^0^0^0^1^0^0^0^0^0^25^126^31^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^52^97^0^0^0^0^0^0^8^4^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  25. 26^Skin like Wood^PLAYER_1^^^^Your skin turns hard as wood.^'s skin turns hard as wood.^Your skin returns to normal.^100^^0^0^3000^2250^6000^11^270^0^10^10^10^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^15^20^0^0^0^0^0^0^0^0^0^0^2511^2056^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^101^102^100^100^100^100^100^100^100^100^100^100^0^1^0^0^1^69^254^254^254^254^254^254^254^254^254^254^5^25^4^-1^0^0^255^255^255^7^255^1^255^255^255^255^255^255^255^255^255^255^42^^0^2^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^131^216^0^0^0^1^0^0^0^0^0^26^45^46^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^10^30^11^270^0^0^0^0^3^81^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  26. 27^Pogonip^PLAYER_1^^^^You are sheathed in ice crystals.^ is sheathed in ice crystals.^^150^20^0^0^3500^2500^12000^0^0^7500^125^-62^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^62^0^0^0^0^0^0^0^0^0^0^0^2519^2064^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^0^0^3^0^254^254^254^254^254^254^254^254^254^254^254^8^25^24^-1^0^0^255^255^255^255^255^22^255^255^255^255^255^255^255^255^255^255^43^13^0^3^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^56^284^0^0^0^1^0^0^0^0^0^27^25^14^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^28^151^0^0^0^0^0^0^1^6^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  27. 28^Avalanche^PLAYER_1^^^^You are entombed in ice.^ is entombed in ice.^^150^20^0^0^5000^2500^12000^0^0^7500^200^-125^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2519^2064^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^0^0^3^0^254^254^254^254^254^254^254^254^254^254^254^8^15^24^-1^0^0^255^255^255^255^255^37^255^255^255^255^255^255^255^255^255^255^43^13^0^3^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^56^284^0^0^0^1^0^0^0^0^0^28^25^14^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^0^151^0^0^0^0^0^0^1^17^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  28. 29^Ice^PLAYER_1^^^^You are encased in frost.^ is encased in frost.^^200^^0^0^5000^2500^2250^7^3^0^142^-370^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^538^0^0^0^0^0^0^0^0^0^0^0^2519^2053^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^104^100^100^100^100^100^100^100^100^100^100^100^0^0^0^3^79^254^254^254^254^254^254^254^254^254^254^254^5^0^24^-1^0^0^255^255^255^255^255^47^255^255^255^255^255^255^255^255^255^255^44^13^0^32^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^56^135^0^0^0^1^0^0^0^0^0^29^25^14^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^27^134^-7^126^7^3^0^0^0^0^2^91^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  29. 30^Blazing Comet^PLAYER_1^^^^You light a blazing comet firework. Weeeee!^ lights a blazing comet firework.^^300^^0^0^2500^0^0^0^0^0^0^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2515^2052^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^8^1^0^2^24^254^254^254^254^254^254^254^254^254^254^254^1^0^52^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^255^44^0^3^44^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^161^120^0^0^0^0^0^0^0^0^0^30^^^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^-99^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  30. 31^Scourge^PLAYER_1^^^^You feel feverish.^ sweats and shivers, looking feverish.^Your fever has broken.^200^^0^0^3000^2500^2250^10^12^0^130^4^-24^-40^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^55^0^0^0^0^0^0^0^0^0^0^2505^2050^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^101^100^100^100^100^100^100^100^100^100^100^0^0^0^5^35^0^79^254^254^254^254^254^254^254^254^254^5^15^14^-1^0^0^255^255^255^255^255^255^255^255^255^31^35^255^255^255^255^255^44^13^0^24^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^41^149^0^0^0^1^0^0^0^0^0^31^20^29^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^47^132^10^21^0^0^0^1^2^22^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  31. 32^Plague^PLAYER_1^^^^You feel feverish.^ sweats and shivers, looking feverish.^Your fever has broken.^200^^0^0^3000^2500^2250^10^13^0^172^9^-25^-60^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^79^0^0^0^0^0^0^0^0^0^0^2505^2050^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^102^100^100^100^100^100^100^100^100^100^100^0^0^0^5^35^0^79^254^254^254^254^254^254^254^254^254^5^0^14^-1^0^0^255^255^255^255^255^255^255^255^255^49^52^255^255^255^65^255^44^13^0^24^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^41^149^0^0^0^1^0^0^0^0^0^32^20^29^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-42^133^-57^132^10^21^0^0^0^1^2^77^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  32. 33^Brilliance^PLAYER_1^^^^Your mind clears.^ gains a flash of insight.^Your brilliance fades.^100^^0^0^4250^2250^2250^3^400^0^125^1^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^12^0^14^0^0^0^0^0^0^0^0^0^2508^2120^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^119^100^109^100^100^100^100^100^100^100^100^100^0^1^0^0^9^10^8^254^254^254^254^254^254^254^254^254^5^5^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^41^255^255^43^^0^7^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^11^256^0^0^0^1^0^0^0^0^0^33^95^130^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^52^77^3^400^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  33. 34^Superior Camouflage^PLAYER_1^^^^You vanish.^ fades away.^You appear.^100^^0^0^5000^2250^2250^3^240^0^40^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2502^2115^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^12^254^254^254^254^254^254^254^254^254^254^254^5^25^18^-1^0^0^255^255^255^47^255^18^255^255^255^255^255^255^255^255^255^255^42^^0^9^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^18^212^0^0^0^1^0^0^0^0^0^34^125^51^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^20^82^3^240^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  34. 35^Bind Affinity^PLAYER_1^^You cast Bind Affinity.^ casts Bind Affinity.^You feel yourself bind to the area.^ is bound to the area.^^100^^0^0^6000^2250^12000^0^0^0^100^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2521^2122^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^5^2^0^0^25^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^12^0^255^10^255^255^255^12^255^255^255^14^12^12^12^12^255^255^43^36^0^14^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^30^209^0^0^0^1^0^0^0^0^0^35^125^64^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^16^200^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  35. 36^Gate^PLAYER_1^^^^^ fades away.^^0^^0^0^5000^2250^8000^0^0^0^70^98^0^0^0^0^0^0^0^0^0^0^0^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2522^2112^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^26^254^254^254^254^254^254^254^254^254^254^254^6^25^5^-1^24^0^255^5^255^255^255^5^255^255^255^5^4^4^4^4^255^255^43^^0^9^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^31^218^0^0^0^1^0^0^0^0^0^36^123^64^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^12^56^0^0^0^0^0^0^6^702^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  36. 37^Hammer of Striking^PLAYER_1^^^^A magical hammer appears in your hand.^^^0^^0^0^6000^2250^12000^0^0^0^100^6309^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2512^2106^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^1^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^32^254^254^254^254^254^254^254^254^254^254^254^6^25^14^-1^0^0^255^20^23^255^255^255^255^255^255^255^255^255^255^255^255^255^43^^0^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^37^305^0^0^0^1^0^0^0^0^0^37^18^110^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^22^217^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0
  37. 38^Lightning Bolt^PLAYER_1^^^^Your body spasms as the lightning bolt arcs through you.^'s body spasms as the lightning bolt arcs through them.^^300^^0.25^0^2500^2500^2250^0^0^0^53^-82^1000^0^0^0^0^0^0^0^0^0^0^0^500^0^0^0^0^0^0^0^0^0^0^157^0^0^0^0^0^0^0^0^0^0^0^2513^2121^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^104^100^100^100^100^100^100^100^100^100^100^100^0^0^0^1^0^21^254^254^254^254^254^254^254^254^254^254^5^25^24^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^16^255^255^255^255^44^13^3^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^162^202^0^0^0^1^0^0^0^0^0^38^25^58^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^121^32^13^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0
  38. 39^Quickness^PLAYER_1^^^^You feel much faster.^ feels much faster.^Your speed returns to normal.^100^^0^0^3100^2250^2250^9^110^0^80^120^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^130^0^0^0^0^0^0^0^0^0^0^0^2501^2054^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^101^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^11^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^255^255^255^255^255^26^255^255^255^15^255^255^43^^0^16^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^16^211^0^0^0^1^0^0^0^0^0^39^125^41^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^18^35^9^110^0^0^0^0^3^220^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  39. 40^Strengthen^PLAYER_1^^^^You feel stronger.^ looks stronger.^Your strength fades.^100^^0^0^2000^2250^2250^11^270^0^10^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^10^0^0^0^0^0^0^0^0^0^0^0^2518^2124^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^102^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^4^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^255^255^255^255^255^1^255^255^255^1^14^255^43^^0^7^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^6^219^0^0^0^1^0^0^0^0^0^40^95^96^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^10^73^11^270^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  40. 41^Weaken^PLAYER_1^^^^You feel weaker.^ weakens.^Your weakness fades.^200^^0^0^1500^2250^2250^8^60^0^8^-10^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^15^0^0^0^0^0^0^0^0^0^0^0^2509^2125^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^101^100^100^100^100^100^100^100^100^100^100^100^0^0^0^1^4^254^254^254^254^254^254^254^254^254^254^254^5^25^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^255^255^1^255^255^44^13^0^20^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^7^235^0^0^0^1^0^0^0^0^0^41^126^30^^0^-1^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^10^79^8^60^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^0^0^0
  41. 42^Invisibility^PLAYER_1^^^^You vanish.^ fades away.^You appear.^100^^0^0^5000^2250^2250^3^200^0^30^1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2502^2115^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^12^254^254^254^254^254^254^254^254^254^254^254^5^25^18^-1^0^0^255^255^255^255^255^255^255^255^255^27^255^16^8^4^43^255^42^^0^9^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^18^212^0^0^0^1^0^0^0^0^0^42^125^51^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^12^82^3^200^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  42. 43^Yaulp II^PLAYER_1^0^^^You feel a surge of strength as you let forth a mighty yaulp.^ lets loose a mighty yaulp.^Your surge of strength fades.^0^^0^0^500^2250^18000^8^4^0^1^0^0^20^0^30^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^2518^2113^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^0^1^0^0^10^10^4^10^1^254^254^254^254^254^254^254^6^0^4^-1^0^0^255^16^38^255^255^255^255^255^255^255^255^255^255^255^255^255^43^0^0^7^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^6^219^0^0^0^1^0^0^0^0^0^43^95^7^^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^5^101^20^92^8^4^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0
  43.  
  44.  
and contiunes on about 10k lines
Jul 19 '08 #1
6 1503
JosAH
11,448 Recognized Expert MVP
This was posted in the Java forum; you perl folks have to deal with it ;-)

kind regards,

Jos (mod)
Jul 19 '08 #2
spider661
5 New Member
i thought i was in the perl forum?
Jul 19 '08 #3
KevinADC
4,059 Recognized Expert Specialist
this looks wrong:

Expand|Select|Wrap|Line Numbers
  1. @ids=`$spellfile`;

try:

Expand|Select|Wrap|Line Numbers
  1. open (IN, $spellfile) or die "$!";
  2. @ids = <IN>;
  3. close IN;
fix that and retry your code.
Jul 19 '08 #4
spider661
5 New Member
that worked great but i still get errors when inserting. is there a way to make it jsut put in the null value.

argument "sume funny looking chars" isn't mumeric in mumeric gt <>) at c:\1\spells.pl line 24

argument "" isn't numeric in numeric ne <!+> at c:\1\spells.pl line 26.
46 and 52
Jul 20 '08 #5
spider661
5 New Member
actually all i need it to do is get the spell id and the name

0^^BLUE_TRAIL^
3^Summon Corpse^
4^Summon Waterstone^

i need it to get the id (first number)
and name thing between the first ^ and sec ^

maybe that will make it easer.
Jul 20 '08 #6
spider661
5 New Member
nvm i got it thanks for help
Jul 20 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3154
by: FLEB | last post by:
I like PHP for its excellent inline integration into standard HTML files, but I like Perl for its quick-moving syntax and simpler data-processing. To resolve this deep-seated inner turmoil (oh, the drama) I've been trying to think of good ways to get Perl code to run inline in a PHP script. Here are a few of my ideas. If anyone has any further ideas, resources, or knows of someone else who's solved this already, please do tell... 1.) The...
0
9745
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile. I need it to be compiled with threads. Anyone have any wisdom on how best to do this? Here's a transcript of my latest attempt. It's long; you might want to skip to the bottom, where I try "make" and the fatal errors start happening.
6
4859
by: Jay | last post by:
hi people i am trying to connect to ppstgresql on a debian system using perl . i am getting the following error .can any one please suggest what has to be done install_driver(pg) failed: Can't locate DBD/pg.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
0
1523
by: brakesh | last post by:
Hi, I am trying to call a perl program (that connects a webserver database) from a php program via a webbrowser. For example : http://development.noaa.gov/test_exec.php?dataid=8313. The test_exec.php script that calls the perl program is as follows: <?php error_log("inside test_exec \n"); $dataid = $_GET; $cmd = "/usr/bin/perl /........../db_connect_psql_RS3.pl ". $dataid; error_log("dataid = $dataid\n"); exec($cmd); ?>
2
4844
by: jonathan184 | last post by:
Hi I am having a problme where the results of the sql count is not matching the results of the perl script sql count. The script was working fine up till Wed last week and after that the results are different on sql and on perl and the date and times are the same, I even copy and pasted the sql query from the perl script into the sql window and got different results. Here is part of the script where i am trying to get the count...
1
1637
by: Balajisanthanakrishnan | last post by:
Old Title: Hi all, need help for this perl script- thanks in advance I am BalajiSanthanakrishnan, chennai. Now I am working in a Perl Script which is executing in the Unix Servers. Basically i am Oracle plsql programmer, but i need to work nowadays in Perl also. In my perl script, there are some entries like $oid_to_get='1.3.6.1.2.1.4.22.1.2'; $comm = bones; $comm2 = public; $port = 161; $done{$router} = "skip";
8
1626
numberwhun
by: numberwhun | last post by:
Hello everyone! I am dabbling in processing forms using Perl and having only just begun, I am already having problems. Go figure. :-) Top begin with, here it the form's html, its nothing at all complicated: <div id="formcontent"> <h3>The New Information Gathering Form</h3> <form action="./cgi-bin/process_form.cgi" method="post"> <fieldset> <legend><strong>Personal Information</strong></legend>
6
3532
by: kinedesigner | last post by:
We're using a perl script to fetch images from the inhouse server & pump them to a remote server with much higher bandwidth. I want to remove the Everyone account from the target folder on the remote server, so users may only access it with username & password. When I do this, the perl script stops working. I can only assume the perl script is operating under the Everyone account. How do I change the functionality so that the Everyone...
10
6976
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114. Where to find the list of errors in websites as it is not the standard apache error. I could not find...
1
47484
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click on a link and after a moment or two a file download dialog box pops-up in your web browser and prompts you for some instructions, such as “open” or “save“. I’m going to show you how to do that using a perl script. What You Need Any recent...
0
9586
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.