By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,809 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,809 IT Pros & Developers. It's quick & easy.

perl script not working. help please.

P: 5
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
Share this Question
Share on Google+
6 Replies


Expert 10K+
P: 11,448
This was posted in the Java forum; you perl folks have to deal with it ;-)

kind regards,

Jos (mod)
Jul 19 '08 #2

P: 5
i thought i was in the perl forum?
Jul 19 '08 #3

KevinADC
Expert 2.5K+
P: 4,059
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

P: 5
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

P: 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

P: 5
nvm i got it thanks for help
Jul 20 '08 #7

Post your reply

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