473,386 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

perl script not working. help please.

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 1473
JosAH
11,448 Expert 8TB
This was posted in the Java forum; you perl folks have to deal with it ;-)

kind regards,

Jos (mod)
Jul 19 '08 #2
i thought i was in the perl forum?
Jul 19 '08 #3
KevinADC
4,059 Expert 2GB
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
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
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
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
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...
0
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....
6
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:...
0
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...
2
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...
1
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...
8
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...
6
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...
10
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.